Ubiquitous/RT-Thread_Fusion_XiUOS/:change the name from "xidatong" to "xidatong-arm32"

This commit is contained in:
chunyexixiaoyu
2022-06-23 16:48:22 +08:00
parent 72f269ea5d
commit e910d5f237
37 changed files with 11 additions and 0 deletions
@@ -0,0 +1,20 @@
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
SOURCES = []
CPPPATH = [cwd]
if GetDepend('BSP_USING_BOOT_IMAGE'):
SOURCES = Glob('*.c')
if rtconfig.CROSS_TOOL == 'keil':
LINKFLAGS = '--keep=*(.boot_hdr.ivt)'
LINKFLAGS += '--keep=*(.boot_hdr.boot_data)'
LINKFLAGS += '--keep=*(.boot_hdr.dcd_data)'
LINKFLAGS += '--keep=*(.boot_hdr.conf)'
else:
SOURCES = Glob('*.c')
LINKFLAGS = ''
else:
LINKFLAGS = ''
group = DefineGroup('xip', src= SOURCES, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS)
Return('group')