summaryrefslogtreecommitdiff
path: root/bsp/lpc5410x/drivers/SConscript
diff options
context:
space:
mode:
authorCoing <[email protected]>2014-12-16 19:54:29 +0800
committerCoing <[email protected]>2014-12-16 19:54:29 +0800
commite4fdb84e96775166fe1d79329cf426e790d63bc6 (patch)
treee8d3048249115374abdfc626fe3c4c371553d2ee /bsp/lpc5410x/drivers/SConscript
parent82ef447e44c0d260f3dec85d5761fc33bfaf085e (diff)
add bsp lpc54102
Diffstat (limited to 'bsp/lpc5410x/drivers/SConscript')
-rw-r--r--bsp/lpc5410x/drivers/SConscript17
1 files changed, 17 insertions, 0 deletions
diff --git a/bsp/lpc5410x/drivers/SConscript b/bsp/lpc5410x/drivers/SConscript
new file mode 100644
index 0000000000..5c19ced1e9
--- /dev/null
+++ b/bsp/lpc5410x/drivers/SConscript
@@ -0,0 +1,17 @@
+#Import('RTT_ROOT')
+#Import('rtconfig')
+from building import *
+
+#cwd = os.path.join(str(Dir('#')),'drivers')
+cwd = GetCurrentDir()
+src = Glob('*.c')
+
+# remove no need file.
+if GetDepend('RT_USING_LWIP') == False:
+ SrcRemove(src, 'drv_emac.c')
+
+CPPPATH = [cwd]
+
+group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')