| 123456789101112131415161718192021 |
- from building import *
- import rtconfig
- # get current directory
- cwd = GetCurrentDir()
- # The set of source files associated with this SConscript file.
- src = []
- #src += Glob(cwd+"/common/src/*.c")
- if GetDepend(['PKG_USING_LEVEL_NOR']):
- src += Glob(cwd+"/common/src/lx_nor*.c")
- if GetDepend(['PKG_USING_LEVEL_NAND']):
- src += Glob(cwd+"/common/src/lx_nand*.c")
- CPPDEFINES = ['LX_INCLUDE_USER_DEFINE_FILE']
- path = [cwd + '/common/inc']
- path += [cwd + '/levelx/']
- group = DefineGroup('Levelx', src, depend = ['PKG_USING_LEVELX'], CPPDEFINES = CPPDEFINES,CPPPATH = path)
- Return('group')
|