You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
380 B
17 lines
380 B
10 months ago
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = Glob('*.c')
|
||
|
CPPPATH = [cwd, str(Dir('#'))]
|
||
|
LIBS = []
|
||
|
LIBPATH = [cwd]
|
||
|
list = os.listdir(GetCurrentDir())
|
||
|
print(list)
|
||
|
if 'libtouch_gcc.a' in list:
|
||
|
LIBS = ['libtouch_gcc.a']
|
||
|
src = []
|
||
|
|
||
|
group = DefineGroup('touch', src, depend = ['BSP_USING_TOUCH'],LIBS = LIBS, LIBPATH = LIBPATH, CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|