summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBluebear233 <[email protected]>2018-11-19 10:47:35 +0800
committerBluebear233 <[email protected]>2018-11-19 10:47:35 +0800
commitd67c9fabfee7842bd2fcec3402971a342cf2475f (patch)
treea846353c206a2fea9dc14b8c3c8d6dad7e8119c4
parentdb2f06df5be598c04c105af42e5e54d78aea8b51 (diff)
[BSP]更新NUVOTON M487 Sconscript
-rw-r--r--bsp/nuvoton_m487/applications/SConscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsp/nuvoton_m487/applications/SConscript b/bsp/nuvoton_m487/applications/SConscript
index 01eb940dfb..9ffdbcd0f9 100644
--- a/bsp/nuvoton_m487/applications/SConscript
+++ b/bsp/nuvoton_m487/applications/SConscript
@@ -1,9 +1,9 @@
-Import('RTT_ROOT')
-Import('rtconfig')
+# RT-Thread building script for component
+
from building import *
-cwd = os.path.join(str(Dir('#')), 'applications')
-src = Glob('*.c')
+cwd = GetCurrentDir()
+src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd, str(Dir('#'))]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)