rt-thread-official/bsp/x1000/drivers/touch/SConscript

23 lines
348 B
Python
Raw Normal View History

2017-11-11 13:51:56 +08:00
from building import *
cwd = GetCurrentDir()
CPPPATH = [cwd]
ft_src = Split("""
focaltech_ts.c
""")
gt_src = Split("""
gt9xx.c
""")
src = ()
if GetDepend('RT_USING_FT6x06'):
src = ft_src
if GetDepend('RT_USING_GT9XX'):
src = gt_src
group = DefineGroup('drv_touch', src, depend = ['RT_USING_TOUCH'], CPPPATH = CPPPATH)
Return('group')