diff --git a/bsp/jz47xx/SConscript b/bsp/jz47xx/SConscript index a6b0ebb6de..a5ba6927af 100644 --- a/bsp/jz47xx/SConscript +++ b/bsp/jz47xx/SConscript @@ -6,7 +6,7 @@ src_bsp = ['application.c', 'startup.c', 'board.c'] src_drv = ['uart.c'] src = File(src_bsp + src_drv) -CPPPATH = Dir('#') +CPPPATH = str(Dir('#')) group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH) Return('group') diff --git a/bsp/taihu/applications/SConscript b/bsp/taihu/applications/SConscript index d73cc9337a..0e743b599a 100644 --- a/bsp/taihu/applications/SConscript +++ b/bsp/taihu/applications/SConscript @@ -4,7 +4,7 @@ from building import * cwd = GetCurrentDir() src = Glob('*.c') -CPPPATH = [cwd, Dir('#')] +CPPPATH = [cwd, str(Dir('#'))] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)