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.
20 lines
457 B
20 lines
457 B
|
4 weeks ago
|
from building import *
|
||
|
|
Import('rtconfig')
|
||
|
|
|
||
|
|
src = []
|
||
|
|
cwd = GetCurrentDir()
|
||
|
|
|
||
|
|
# add ft6206 src files.
|
||
|
|
if GetDepend('PKG_USING_FT5426'):
|
||
|
|
src += Glob('src/ft5426.c')
|
||
|
|
|
||
|
|
if GetDepend('PKG_USING_FT5426_SAMPLE'):
|
||
|
|
src += Glob('examples/example_ft5426.c')
|
||
|
|
|
||
|
|
# add ft5426 include path.
|
||
|
|
path = [cwd + '/inc']
|
||
|
|
|
||
|
|
# add src and include to group.
|
||
|
|
group = DefineGroup('ft5426', src, depend = ['PKG_USING_FT5426'], CPPPATH = path)
|
||
|
|
|
||
|
|
Return('group')
|