update SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1574 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
217c6d88f5
commit
f0c20eb020
|
@ -29,7 +29,7 @@ src = Split("""
|
|||
driverlib/watchdog.c
|
||||
""")
|
||||
|
||||
CPPPATH = [RTT_ROOT + '/bsp/lm3s/Libraries/inc', RTT_ROOT + '/bsp/lm3s/Libraries', RTT_ROOT + '/bsp/lm3s/Libraries/driverlib']
|
||||
CPPPATH = [RTT_ROOT + '/bsp/lm3s8962/Libraries/inc', RTT_ROOT + '/bsp/lm3s8962/Libraries', RTT_ROOT + '/bsp/lm3s8962/Libraries/driverlib']
|
||||
|
||||
group = DefineGroup('library', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ if GetDepend('RT_USING_LWIP'):
|
|||
src_drv += ['luminaryif.c']
|
||||
|
||||
src = File(src_bsp + src_drv)
|
||||
CPPPATH = [RTT_ROOT + '/bsp/lm3s']
|
||||
CPPPATH = [RTT_ROOT + '/bsp/lm3s8962']
|
||||
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -21,7 +21,7 @@ Export('rtconfig')
|
|||
# prepare building environment
|
||||
objs = PrepareBuilding(env, RTT_ROOT)
|
||||
|
||||
objs = objs + SConscript(('bsp/lm3s/Libraries/SConscript'), variant_dir='build/bsp/Libraries', duplicate=0)
|
||||
objs = objs + SConscript(('bsp/lm3s8962/Libraries/SConscript'), variant_dir='build/bsp/Libraries', duplicate=0)
|
||||
|
||||
env.Program(TARGET, objs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue