forked from springcute/rt-thread
CPPPATH should be string.
This commit is contained in:
parent
cc8301d0f1
commit
5779f0abf0
|
@ -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')
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue