format Kconfig and sconscript

This commit is contained in:
Meco Man
2023-01-08 22:52:13 -05:00
committed by Man, Jianting (Meco)
parent f4b285dc9c
commit 9bc68d26a4
885 changed files with 3941 additions and 3919 deletions
+2 -2
View File
@@ -199,7 +199,7 @@ EMBARC_CPPPATH = [ EMBARC_BSP_ROOT,
#print("EMBARC_CPPPATH: %s"%EMBARC_CPPPATH)
if TOOLCHAIN == 'mw':
EXEC_PATH = 'C:/ARC/MetaWare/arc/bin'
EXEC_PATH = 'C:/ARC/MetaWare/arc/bin'
MAKE = 'gmake'
PREFIX = ''
CC = 'ccac'
@@ -228,7 +228,7 @@ if TOOLCHAIN == 'mw':
LFLAGS = ' -Hhostlink ' + OPT_ARG_FILE + ' -Hnocopyr -Hnosdata -Hnocrt -Hldopt=-Coutput=rtthread_snps_embarc.map -Hldopt=-Csections -Hldopt=-Ccrossfunc -Hldopt=-Csize -zstdout %s' % LINK_SCRIPT
elif TOOLCHAIN == 'gnu':
EXEC_PATH = 'C:/arc_gnu/bin'
EXEC_PATH = 'C:/arc_gnu/bin'
MAKE = 'make'
PREFIX = 'arc-elf32-'
CC = PREFIX + 'gcc'
+1 -1
View File
@@ -7,4 +7,4 @@ config EMSK_USING_UART0
config EMSK_USING_UART1
bool "Using UART1"
select RT_USING_SERIAL
default y
default y
+1 -1
View File
@@ -4,7 +4,7 @@ Import('rtconfig')
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
src = Glob('*.c')
ASFLAGS = ' -I' + cwd