mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-18 18:39:11 +08:00
解决 HC32L196 scons编译问题
This commit is contained in:
parent
55d3011f95
commit
38bd06cc17
@ -2,7 +2,6 @@ import os
|
||||
import sys
|
||||
import rtconfig
|
||||
|
||||
print "############sconstruct##############"
|
||||
if os.getenv('RTT_ROOT'):
|
||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||
else:
|
||||
@ -38,8 +37,6 @@ Export('RTT_ROOT')
|
||||
Export('rtconfig')
|
||||
|
||||
# prepare building environment
|
||||
print "######################env:"
|
||||
print env
|
||||
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
|
||||
|
||||
# make a building
|
||||
|
@ -89,7 +89,6 @@ elif PLATFORM == 'armcc':
|
||||
CFLAGS += ' -O2'
|
||||
|
||||
CXXFLAGS = CFLAGS
|
||||
CFLAGS += ' -std=c99'
|
||||
|
||||
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user