summaryrefslogtreecommitdiff
path: root/components/drivers/hwtimer/SConscript
diff options
context:
space:
mode:
authorheyuanjie87 <[email protected]>2015-09-02 22:00:24 +0800
committerheyuanjie87 <[email protected]>2015-09-02 22:00:24 +0800
commitc84887d021bc0d66352ead42366bd45868e1e4df (patch)
tree08356eb9cdf06253f1ca7cf484a9c154197dc08b /components/drivers/hwtimer/SConscript
parentcb51bdb245a4b8336533a01fdaaba017bf93b15a (diff)
加入定时器设备
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')