summaryrefslogtreecommitdiff
path: root/bsp/allwinner/libraries/drivers/touch/SConscript
blob: b4416efae62e13cacc5a399240ae1ff95c975dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from building import *

cwd     = GetCurrentDir()
src     = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))]
LIBS = []
LIBPATH = [cwd]
list = os.listdir(GetCurrentDir())
print(list)
if 'libtouch_gcc.a' in list:
    LIBS = ['libtouch_gcc.a']
    src = []

group = DefineGroup('touch', src, depend = ['BSP_USING_TOUCH'],LIBS = LIBS, LIBPATH = LIBPATH, CPPPATH = CPPPATH)

Return('group')