summaryrefslogtreecommitdiff
path: root/components/CMSIS/RTOS/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-06-01 07:31:15 +0000
committer[email protected] <[email protected]>2012-06-01 07:31:15 +0000
commit60ada9665d2bf7a9959bed9b92cb90c710f5ad52 (patch)
tree06ad26cd8575d0f9752bf5202094bf9f538b5f89 /components/CMSIS/RTOS/SConscript
parent7fddcb0e355a572504181d3e04943acebd5e4fae (diff)
add the standard CMSIS(Version 3.01) into components
and implement examples in MB9BF506R and LPC176x branches define RT_USING_BSP_CMSIS in rtconfig.h will use CMSIS in bsp define RT_USING_RTT_CMSIS in rtconfig.h will use CMSIS in components git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2146 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/CMSIS/RTOS/SConscript')
-rw-r--r--components/CMSIS/RTOS/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/CMSIS/RTOS/SConscript b/components/CMSIS/RTOS/SConscript
new file mode 100644
index 0000000000..b96c06f733
--- /dev/null
+++ b/components/CMSIS/RTOS/SConscript
@@ -0,0 +1,8 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd]
+group = DefineGroup('CMSIS_OS', src, depend = ['RT_USING_CMSIS_OS'], CPPPATH = CPPPATH)
+
+Return('group')