4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-16 06:19:24 +08:00
2017-11-11 13:53:20 +08:00

23 lines
348 B
Python

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')