2023-08-30 16:21:18 +08:00
|
|
|
Import('AIC_ROOT')
|
|
|
|
|
Import('PRJ_KERNEL')
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
|
src = Glob('*.c')
|
|
|
|
|
CPPPATH = []
|
|
|
|
|
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_GT911'):
|
|
|
|
|
CPPPATH.append(cwd + '/gt911/inc')
|
|
|
|
|
src += Glob('gt911/src/*.c')
|
|
|
|
|
|
2024-01-27 08:47:24 +08:00
|
|
|
if GetDepend('AIC_TOUCH_PANEL_FT7411'):
|
|
|
|
|
CPPPATH.append(cwd + '/ft7411/inc')
|
|
|
|
|
src += Glob('ft7411/src/*.c')
|
|
|
|
|
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_GSL1680'):
|
|
|
|
|
CPPPATH.append(cwd + '/gsl1680/inc')
|
|
|
|
|
src += Glob('gsl1680/src/*.c')
|
|
|
|
|
|
2024-06-04 19:00:30 +08:00
|
|
|
if GetDepend('AIC_TOUCH_PANEL_ST16XX'):
|
|
|
|
|
CPPPATH.append(cwd + '/st16xx/inc')
|
|
|
|
|
src += Glob('st16xx/src/*.c')
|
|
|
|
|
|
|
|
|
|
if GetDepend('AIC_TOUCH_PANEL_AXS15260'):
|
|
|
|
|
CPPPATH.append(cwd + '/axs15260/inc')
|
|
|
|
|
src += Glob('axs15260/src/*.c')
|
|
|
|
|
|
2024-01-27 08:47:24 +08:00
|
|
|
group = DefineGroup('touch', src, depend = [''], CPPPATH = CPPPATH)
|
2023-08-30 16:21:18 +08:00
|
|
|
|
|
|
|
|
Return('group')
|