summaryrefslogtreecommitdiff
path: root/components/drivers/watchdog/SConscript
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-03-04 14:32:56 +0800
committerbernard <[email protected]>2014-03-04 14:32:56 +0800
commit306e1ac43ff1db09fad9432b7181835222d23b12 (patch)
tree523ced3e1e52ba44c767805463c5f7be45eb725e /components/drivers/watchdog/SConscript
parent020e95d91b5e1d7f902674a320e42657bee3ebfe (diff)
[DeviceDrivers] Add watchdog driver frame work
Diffstat (limited to 'components/drivers/watchdog/SConscript')
-rw-r--r--components/drivers/watchdog/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/drivers/watchdog/SConscript b/components/drivers/watchdog/SConscript
new file mode 100644
index 0000000000..38934d3c41
--- /dev/null
+++ b/components/drivers/watchdog/SConscript
@@ -0,0 +1,8 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd + '/../include']
+group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_WDT'], CPPPATH = CPPPATH)
+
+Return('group')