summaryrefslogtreecommitdiff
path: root/components/drivers/touch/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-06-14 18:06:04 +0800
committerGitHub <[email protected]>2019-06-14 18:06:04 +0800
commit10c178c5e04d79a0e844fb6bc3f9ee3dd43ff9cd (patch)
treeab7deb3a87022698a5d3ea22c547a4473aa5df61 /components/drivers/touch/SConscript
parent0d717a48d3334bd757c7ce83beffdc6d79541d9c (diff)
parent06051905f0007bc3fc593810bb26395374e58600 (diff)
Merge pull request #2769 from tyustli/touch
add touch framework
Diffstat (limited to 'components/drivers/touch/SConscript')
-rw-r--r--components/drivers/touch/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/drivers/touch/SConscript b/components/drivers/touch/SConscript
new file mode 100644
index 0000000000..f370b2aba6
--- /dev/null
+++ b/components/drivers/touch/SConscript
@@ -0,0 +1,11 @@
+# SConscript for touch framework
+
+from building import *
+
+cwd = GetCurrentDir()
+src = ['touch.c']
+CPPPATH = [cwd, cwd + '/../include']
+
+group = DefineGroup('Touch', src, depend = ['RT_USING_TOUCH', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
+
+Return('group')