summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorAubr.Cool <[email protected]>2015-05-15 08:00:14 +0800
committerAubr.Cool <[email protected]>2015-05-15 08:00:14 +0800
commitc7d703158ad312ba6731a17e2f470492adf19dc4 (patch)
tree8a7051735a7799e2432817461ac28be711b9b011 /components/drivers
parent8e29e3d98be63acae431fab47662db3aca9eeeba (diff)
Add SConscript for can
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/can/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/drivers/can/SConscript b/components/drivers/can/SConscript
new file mode 100644
index 0000000000..84ae2a10da
--- /dev/null
+++ b/components/drivers/can/SConscript
@@ -0,0 +1,8 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd + '/../include']
+group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_CAN'], CPPPATH = CPPPATH)
+
+Return('group')