forked from xuos/xiuos
Ubiquitous/RT-Thread_Fusion_XiUOS/aiit_board/xidatong-riscv64/applications/:Update the main function and add the dependency macro of lcd_test.c in SConscript
This commit is contained in:
+10
-1
@@ -1,9 +1,18 @@
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c') + Glob('*.cpp')
|
||||
src = [
|
||||
'main.c'
|
||||
]
|
||||
CPPPATH = [cwd]
|
||||
|
||||
## 设置 lcd_test.c 的依赖宏
|
||||
if GetDepend('BSP_USING_LCD'):
|
||||
src += ['lcd_test.c']
|
||||
|
||||
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user