diff options
| author | Bernard Xiong <[email protected]> | 2017-12-31 21:19:52 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-12-31 21:19:52 +0800 |
| commit | 28e925c9312179e9ec7ba0744c656ec437b5c1ad (patch) | |
| tree | 684b083ebc5604a5ec72e98848f97a42251fcdd3 /bsp/lm3s8962 | |
| parent | 8a923193ab6af396cb58ebb48eecaba9e4e689ee (diff) | |
[BSP] fix the compiling issue
Diffstat (limited to 'bsp/lm3s8962')
| -rw-r--r-- | bsp/lm3s8962/Libraries/SConscript | 6 | ||||
| -rw-r--r-- | bsp/lm3s8962/SConstruct | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bsp/lm3s8962/Libraries/SConscript b/bsp/lm3s8962/Libraries/SConscript index b0631a7d2e..cb209ba4df 100644 --- a/bsp/lm3s8962/Libraries/SConscript +++ b/bsp/lm3s8962/Libraries/SConscript @@ -4,7 +4,7 @@ from building import * # The set of source files associated with this SConscript file. cwd = GetCurrentDir() -src = Glob('driverlib/*.c') +src = Glob('driverlib/*.c') # cortex-m3 no FPU. if rtconfig.PART_TYPE.startswith('PART_LM4F') != True: @@ -18,9 +18,9 @@ elif rtconfig.CROSS_TOOL == 'keil': elif rtconfig.CROSS_TOOL == 'iar': src += ['startup/iar/start_iar.S'] -CPPPATH = [cwd] - +CPPPATH = [cwd] CPPDEFINES = [rtconfig.PART_TYPE] + group = DefineGroup('Libraries', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) Return('group') diff --git a/bsp/lm3s8962/SConstruct b/bsp/lm3s8962/SConstruct index 3542c5c40c..c829512b41 100644 --- a/bsp/lm3s8962/SConstruct +++ b/bsp/lm3s8962/SConstruct @@ -23,7 +23,7 @@ Export('RTT_ROOT') Export('rtconfig') # prepare building environment -objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) +objs = PrepareBuilding(env, RTT_ROOT) # make a building DoBuilding(TARGET, objs) |
