提交 08a2e762 编写于 作者: L liang yongxiang

[bsp][ck802] clean up

上级 cd5ccea4
...@@ -2,12 +2,10 @@ import os ...@@ -2,12 +2,10 @@ import os
import sys import sys
import rtconfig import rtconfig
# if os.getenv('RTT_ROOT'): if os.getenv('RTT_ROOT'):
# RTT_ROOT = os.getenv('RTT_ROOT') RTT_ROOT = os.getenv('RTT_ROOT')
# else: else:
RTT_ROOT = os.path.normpath(os.getcwd() + '/../..') RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
print RTT_ROOT
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from building import * from building import *
......
...@@ -40,7 +40,7 @@ if PLATFORM == 'gcc': ...@@ -40,7 +40,7 @@ if PLATFORM == 'gcc':
DEVICE = ' -mcpu=ck802' DEVICE = ' -mcpu=ck802'
CFLAGS = DEVICE + ' -DCONFIG_CPU_CK802 -c -g -ffunction-sections -Wall -mistack -mlittle-endian' CFLAGS = DEVICE + ' -DCONFIG_CPU_CK802 -c -g -ffunction-sections -Wall -mistack -mlittle-endian'
AFLAGS = ' -c' + DEVICE + ' -EL -x assembler-with-cpp -save-temps=ojb' AFLAGS = ' -c' + DEVICE + ' -EL -x assembler-with-cpp'
LFLAGS = DEVICE + ' -EL -Wl,--gc-sections,-Map=rtthread_ck802.map,-cref,-u,Reset_Handler -T gcc_csky.ld' LFLAGS = DEVICE + ' -EL -Wl,--gc-sections,-Map=rtthread_ck802.map,-cref,-u,Reset_Handler -T gcc_csky.ld'
CPATH = '' CPATH = ''
LPATH = '' LPATH = ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册