summaryrefslogtreecommitdiff
path: root/components/drivers/hwtimer/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-09-09 22:30:45 +0800
committerBernard Xiong <[email protected]>2015-09-09 22:30:45 +0800
commit342e8d688dfb355a64f6fe95424c30d370a7ccd5 (patch)
tree929db08ebc07c51e24bfee0cf61619ae15f2a2c6 /components/drivers/hwtimer/SConscript
parentf43a861e4c39aa4edad1df30fe9f5307dcd97372 (diff)
parent984a7ba05128992d8b89fc689f5f5e4f135e2f1b (diff)
Merge pull request #546 from heyuanjie87/ForPullRequest
[DeviceDrivers] Add hardware timer framework
Diffstat (limited to 'components/drivers/hwtimer/SConscript')
-rw-r--r--components/drivers/hwtimer/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/drivers/hwtimer/SConscript b/components/drivers/hwtimer/SConscript
new file mode 100644
index 0000000000..534e04b6c0
--- /dev/null
+++ b/components/drivers/hwtimer/SConscript
@@ -0,0 +1,8 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd + '/../include']
+group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_HWTIMER'], CPPPATH = CPPPATH)
+
+Return('group')