blob: f429ad7bf4fcee57a51d0136b0659d42ded6f50f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
from building import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
path = [cwd]
# add src and include to group.
src += Glob('tpc_worker.c')
if GetDepend('NU_PKG_USING_TPC_ILI'):
src += Glob('ili.c')
elif GetDepend('NU_PKG_USING_TPC_GT911'):
src += Glob('gt911.c')
elif GetDepend('NU_PKG_USING_TPC_FT5446'):
src += Glob('ft5446.c')
elif GetDepend('NU_PKG_USING_TPC_ST1663I'):
src += Glob('st1663i.c')
else:
src = []
group = DefineGroup('nu_pkgs_tpc', src, depend = [''], CPPPATH = path)
Return('group')
|