From 0255f2517455c6616c7f56cc640349535f0abf81 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sat, 6 Apr 2019 10:51:40 +0800 Subject: [PATCH] Update SConscript --- bsp/gd32e230k-start/applications/SConscript | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bsp/gd32e230k-start/applications/SConscript b/bsp/gd32e230k-start/applications/SConscript index 01eb940dfb..b03718e857 100644 --- a/bsp/gd32e230k-start/applications/SConscript +++ b/bsp/gd32e230k-start/applications/SConscript @@ -1,10 +1,8 @@ -Import('RTT_ROOT') -Import('rtconfig') from building import * -cwd = os.path.join(str(Dir('#')), 'applications') +cwd = GetCurrentDir() src = Glob('*.c') -CPPPATH = [cwd, str(Dir('#'))] +CPPPATH = [cwd] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)