From d67c9fabfee7842bd2fcec3402971a342cf2475f Mon Sep 17 00:00:00 2001 From: Bluebear233 <417350690@qq.com> Date: Mon, 19 Nov 2018 10:47:35 +0800 Subject: [PATCH] =?UTF-8?q?[BSP]=E6=9B=B4=E6=96=B0NUVOTON=20M487=20Sconscr?= =?UTF-8?q?ipt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/nuvoton_m487/applications/SConscript | 8 ++++---- 1 file 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)