summaryrefslogtreecommitdiff
path: root/bsp/xplorer4330/drivers/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-17 08:21:29 +0000
committer[email protected] <[email protected]>2012-12-17 08:21:29 +0000
commit2955dbfcdaa887e55ecea68aadc1957fefb53e3e (patch)
tree5d00d24f1e5925832a7dbfad770038a061098e21 /bsp/xplorer4330/drivers/SConscript
parentbc02dbc501b5533d2580c9e61c3b96722b9fd400 (diff)
add LPC4330 BSP based on NGX xplorer development board
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2487 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/xplorer4330/drivers/SConscript')
-rw-r--r--bsp/xplorer4330/drivers/SConscript16
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/xplorer4330/drivers/SConscript b/bsp/xplorer4330/drivers/SConscript
new file mode 100644
index 0000000000..01177dc4c9
--- /dev/null
+++ b/bsp/xplorer4330/drivers/SConscript
@@ -0,0 +1,16 @@
+Import('RTT_ROOT')
+Import('rtconfig')
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+
+# remove no need file.
+if GetDepend('RT_USING_SERIAL') == False:
+ SrcRemove(src, 'usart.c')
+
+CPPPATH = [cwd]
+
+group = DefineGroup('drivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')