CPPPATH should be string.

This commit is contained in:
aozima 2013-07-11 23:10:32 +08:00
parent cc8301d0f1
commit 5779f0abf0
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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)