[SConscript]update group name
This commit is contained in:
parent
ba83ddc3c4
commit
ef62febf1f
@ -8,6 +8,6 @@ CPPPATH = [cwd]
|
|||||||
if rtconfig.PLATFORM == 'gcc':
|
if rtconfig.PLATFORM == 'gcc':
|
||||||
src += Glob('*_gcc.S')
|
src += Glob('*_gcc.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -12,7 +12,7 @@ if rtconfig.CROSS_TOOL == 'gcc':
|
|||||||
elif rtconfig.CROSS_TOOL == 'iar':
|
elif rtconfig.CROSS_TOOL == 'iar':
|
||||||
libs += ['libsmartconfig_armcm4_iar']
|
libs += ['libsmartconfig_armcm4_iar']
|
||||||
|
|
||||||
group = DefineGroup('smartconfig', src, depend = ['RT_USING_SMARTCONFIG_LIB'], CPPPATH = path, LIBS = libs, LIBPATH = libpath)
|
group = DefineGroup('Libraries', src, depend = ['RT_USING_SMARTCONFIG_LIB'], CPPPATH = path, LIBS = libs, LIBPATH = libpath)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
||||||
|
@ -9,6 +9,6 @@ CPPPATH = [cwd]
|
|||||||
#remove other no use files
|
#remove other no use files
|
||||||
#SrcRemove(src, '*.c')
|
#SrcRemove(src, '*.c')
|
||||||
|
|
||||||
group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
@ -8,5 +8,5 @@ CPPPATH = [cwd]
|
|||||||
# The set of source files associated with this SConscript file.
|
# The set of source files associated with this SConscript file.
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
|
|
||||||
group = DefineGroup('platform', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -41,6 +41,6 @@ path = [
|
|||||||
|
|
||||||
CPPDEFINES = ['USE_STDPERIPH_DRIVER']
|
CPPDEFINES = ['USE_STDPERIPH_DRIVER']
|
||||||
|
|
||||||
group = DefineGroup('AT32_Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -21,6 +21,6 @@ if rtconfig.PLATFORM == 'cl':
|
|||||||
if rtconfig.PLATFORM == 'mingw':
|
if rtconfig.PLATFORM == 'mingw':
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
|
|
||||||
group = DefineGroup('platform', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Platform', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -21,6 +21,6 @@ if rtconfig.PLATFORM == 'cl':
|
|||||||
if rtconfig.PLATFORM == 'mingw':
|
if rtconfig.PLATFORM == 'mingw':
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
|
|
||||||
group = DefineGroup('platform', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Platform', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -25,6 +25,6 @@ CPPPATH = [
|
|||||||
cwd + '/DRIVERS/USART',
|
cwd + '/DRIVERS/USART',
|
||||||
]
|
]
|
||||||
|
|
||||||
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -26,6 +26,6 @@ if GetDepend('RT_USING_SPI_CONTROL'):
|
|||||||
if GetDepend('RT_USING_EMAC'):
|
if GetDepend('RT_USING_EMAC'):
|
||||||
src += ['davinci_emac.c']
|
src += ['davinci_emac.c']
|
||||||
|
|
||||||
group = DefineGroup('Startup', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -3,6 +3,6 @@ from building import *
|
|||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
|
|
||||||
group = DefineGroup('Platform', src, depend = [''])
|
group = DefineGroup('Drivers', src, depend = [''])
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
path = [cwd, cwd + '/..']
|
path = [cwd, cwd + '/..']
|
||||||
|
|
||||||
group = DefineGroup('Platform', src, depend = ['CONFIG_BOARD_IOTCAM', 'CONFIG_CHIP_FH8620'], CPPPATH = path)
|
group = DefineGroup('Drivers', src, depend = ['CONFIG_BOARD_IOTCAM', 'CONFIG_CHIP_FH8620'], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -8,6 +8,6 @@ src = Glob('*.c')
|
|||||||
|
|
||||||
path = [cwd, cwd + '/..']
|
path = [cwd, cwd + '/..']
|
||||||
|
|
||||||
group = DefineGroup('Platform', src, depend = ['CONFIG_PLAT_V2'], CPPPATH = path)
|
group = DefineGroup('Drivers', src, depend = ['CONFIG_PLAT_V2'], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if GetDepend('RT_USING_LWIP'):
|
|||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -21,7 +21,7 @@ elif rtconfig.CROSS_TOOL == 'keil':
|
|||||||
|
|
||||||
CPPDEFINES = ['CPU_MK64FN1M0VLL12']
|
CPPDEFINES = ['CPU_MK64FN1M0VLL12']
|
||||||
|
|
||||||
group = DefineGroup('Device', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)
|
||||||
#CPPDEFINES = CPPDEFINES)
|
#CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -5,6 +5,6 @@ src = Glob('*.c')
|
|||||||
src += Glob('*.s')
|
src += Glob('*.s')
|
||||||
path = [cwd, cwd + '../../../include', cwd + '/../libraries/inc', cwd + '/../drivers']
|
path = [cwd, cwd + '../../../include', cwd + '/../libraries/inc', cwd + '/../drivers']
|
||||||
|
|
||||||
group = DefineGroup('armv6', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -7,7 +7,7 @@ path = [cwd + '/inc']
|
|||||||
libcwd = str(Dir('#'))
|
libcwd = str(Dir('#'))
|
||||||
libinspath = libcwd + '/libraries/lib'
|
libinspath = libcwd + '/libraries/lib'
|
||||||
|
|
||||||
group = DefineGroup('gd', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
for d in list:
|
for d in list:
|
||||||
|
@ -39,6 +39,6 @@ src += ['wdog/gd_wdog.c']
|
|||||||
|
|
||||||
path = [cwd, cwd + '/../inc']
|
path = [cwd, cwd + '/../inc']
|
||||||
|
|
||||||
group = DefineGroup('gd', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
@ -9,7 +9,7 @@ libinspath = libcwd + '/libraries/lib'
|
|||||||
|
|
||||||
CPPDEFINES = ['-DDEBUG']
|
CPPDEFINES = ['-DDEBUG']
|
||||||
|
|
||||||
group = DefineGroup('gh', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
for d in list:
|
for d in list:
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
path = [cwd + '/../inc']
|
path = [cwd + '/../inc']
|
||||||
|
|
||||||
group = DefineGroup('gh', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -7,7 +7,7 @@ path = [cwd + '/inc']
|
|||||||
libcwd = str(Dir('#'))
|
libcwd = str(Dir('#'))
|
||||||
libinspath = libcwd + '/libraries/lib'
|
libinspath = libcwd + '/libraries/lib'
|
||||||
|
|
||||||
group = DefineGroup('gd', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
for d in list:
|
for d in list:
|
||||||
|
@ -40,6 +40,6 @@ src += ['wdog/gd_wdog.c']
|
|||||||
|
|
||||||
path = [cwd, cwd + '/../inc', cwd + '/..']
|
path = [cwd, cwd + '/../inc', cwd + '/..']
|
||||||
|
|
||||||
group = DefineGroup('gd', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
@ -7,7 +7,7 @@ path = [cwd + '/inc']
|
|||||||
libcwd = str(Dir('#'))
|
libcwd = str(Dir('#'))
|
||||||
libinspath = libcwd + '/libraries/lib'
|
libinspath = libcwd + '/libraries/lib'
|
||||||
|
|
||||||
group = DefineGroup('gh', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
for d in list:
|
for d in list:
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
path = [cwd + '/..', cwd + '/../inc', cwd + '/../../inc']
|
path = [cwd + '/..', cwd + '/../inc', cwd + '/../../inc']
|
||||||
|
|
||||||
group = DefineGroup('gh', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -7,7 +7,7 @@ path = [cwd + '/inc']
|
|||||||
libcwd = str(Dir('#'))
|
libcwd = str(Dir('#'))
|
||||||
libinspath = libcwd + '/libraries/lib'
|
libinspath = libcwd + '/libraries/lib'
|
||||||
|
|
||||||
group = DefineGroup('gd', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
for d in list:
|
for d in list:
|
||||||
|
@ -40,6 +40,6 @@ src += ['wdog/gd_wdog.c']
|
|||||||
|
|
||||||
path = [cwd, cwd + '/../inc', cwd + '/..']
|
path = [cwd, cwd + '/../inc', cwd + '/..']
|
||||||
|
|
||||||
group = DefineGroup('gd', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
@ -7,7 +7,7 @@ path = [cwd + '/inc']
|
|||||||
libcwd = str(Dir('#'))
|
libcwd = str(Dir('#'))
|
||||||
libinspath = libcwd + '/libraries/lib'
|
libinspath = libcwd + '/libraries/lib'
|
||||||
|
|
||||||
group = DefineGroup('gh', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
for d in list:
|
for d in list:
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
path = [cwd + '/..', cwd + '/../inc', cwd + '/../../inc']
|
path = [cwd + '/..', cwd + '/../inc', cwd + '/../../inc']
|
||||||
|
|
||||||
group = DefineGroup('gh', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -8,6 +8,6 @@ path = [cwd]
|
|||||||
libcwd = str(Dir('#'))
|
libcwd = str(Dir('#'))
|
||||||
libinspath = libcwd + '/libraries/lib'
|
libinspath = libcwd + '/libraries/lib'
|
||||||
|
|
||||||
group = DefineGroup('gnu_c', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, LIBINSPATH = libinspath)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ elif GetDepend('BOARD_GK7102S_HZD_JXH42'):
|
|||||||
elif GetDepend('BOARD_GK7102C_JH'):
|
elif GetDepend('BOARD_GK7102C_JH'):
|
||||||
CPPDEFINES += ['-DGK7102C_JH']
|
CPPDEFINES += ['-DGK7102C_JH']
|
||||||
|
|
||||||
group = DefineGroup('platform', src, depend = [''], CPPDEFINES = CPPDEFINES)
|
group = DefineGroup('Drivers', src, depend = [''], CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -12,6 +12,6 @@ elif rtconfig.PLATFORM == 'gcc':
|
|||||||
elif rtconfig.PLATFORM == 'armcc':
|
elif rtconfig.PLATFORM == 'armcc':
|
||||||
src += Glob('*_rvds.S')
|
src += Glob('*_rvds.S')
|
||||||
|
|
||||||
group = DefineGroup('AM335x', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('camera', src, depend = ['BSP_USING_CAMERA'], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = ['BSP_USING_CAMERA'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -22,6 +22,6 @@ path = [cwd + '/CMSIS/Include',
|
|||||||
cwd + '/nrf51822/Include']
|
cwd + '/nrf51822/Include']
|
||||||
|
|
||||||
CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'NRF51']
|
CPPDEFINES = ['USE_STDPERIPH_DRIVER', 'NRF51']
|
||||||
group = DefineGroup('Startup Code', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -9,6 +9,6 @@ CPPPATH = [cwd]
|
|||||||
#remove other no use files
|
#remove other no use files
|
||||||
#SrcRemove(src, '*.c')
|
#SrcRemove(src, '*.c')
|
||||||
|
|
||||||
group = DefineGroup('Board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
@ -11,6 +11,6 @@ CPPPATH = [cwd]
|
|||||||
#remove other no use files
|
#remove other no use files
|
||||||
#SrcRemove(src, '*.c')
|
#SrcRemove(src, '*.c')
|
||||||
|
|
||||||
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
@ -20,6 +20,6 @@ elif rtconfig.CROSS_TOOL == 'iar':
|
|||||||
|
|
||||||
path = [cwd + '/Nuvoton/M480/Include',]
|
path = [cwd + '/Nuvoton/M480/Include',]
|
||||||
|
|
||||||
group = DefineGroup('m480_device', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -20,9 +20,9 @@ if not GetDepend('BSP_USE_STDDRIVER_SOURCE'):
|
|||||||
libs += ['libstddriver_iar']
|
libs += ['libstddriver_iar']
|
||||||
|
|
||||||
if not libs:
|
if not libs:
|
||||||
group = DefineGroup('m480_stddriver', src, depend = [''], CPPPATH = cpppath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = cpppath)
|
||||||
else:
|
else:
|
||||||
src = []
|
src = []
|
||||||
group = DefineGroup('m480_stddriver', src, depend = [''], CPPPATH = cpppath, LIBS = libs, LIBPATH = libpath)
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = cpppath, LIBS = libs, LIBPATH = libpath)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -30,6 +30,6 @@ elif GetDepend('BOARD_USING_HSOTG') and ( GetDepend('BSP_USING_USBD') or GetDepe
|
|||||||
print '[Hint] You already select BOARD_USING_HSOTG. Please de-select BSP_USING_USBD and BSP_USING_USBH options.'
|
print '[Hint] You already select BOARD_USING_HSOTG. Please de-select BSP_USING_USBD and BSP_USING_USBH options.'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
group = DefineGroup('m480_rttport', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -15,6 +15,6 @@ NuPinConfig/nutool_pincfg.c
|
|||||||
src += Glob('*.c') + Glob('*.cpp')
|
src += Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -15,6 +15,6 @@ NuPinConfig/nutool_pincfg.c
|
|||||||
src += Glob('*.c') + Glob('*.cpp')
|
src += Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
CPPPATH = [cwd, cwd + '/NuClockConfig', cwd + '/NuPinConfig']
|
||||||
|
|
||||||
group = DefineGroup('board', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.S')
|
src = Glob('*.c') + Glob('*.S')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('drv_audio', src, depend = ['BSP_DRV_AUDIO'], CPPPATH = CPPPATH)
|
group = DefineGroup('Drivers', src, depend = ['BSP_DRV_AUDIO'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -12,6 +12,6 @@ elif rtconfig.PLATFORM == 'gcc':
|
|||||||
elif rtconfig.PLATFORM == 'armcc':
|
elif rtconfig.PLATFORM == 'armcc':
|
||||||
src += Glob('*_rvds.S')
|
src += Glob('*_rvds.S')
|
||||||
|
|
||||||
group = DefineGroup('AM335x', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*_gcc.S')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -15,6 +15,6 @@ if rtconfig.DEVICE_SERIES == 'SAMD20':
|
|||||||
elif rtconfig.DEVICE_SERIES == 'SAMD21':
|
elif rtconfig.DEVICE_SERIES == 'SAMD21':
|
||||||
path += [cwd + '/../asflib_config', cwd + '/../asflib_config/clock_samd21_r21_da_ha1']
|
path += [cwd + '/../asflib_config', cwd + '/../asflib_config/clock_samd21_r21_da_ha1']
|
||||||
|
|
||||||
group = DefineGroup('Board', src, depend = [''], CPPPATH = path)
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -13,7 +13,7 @@ CPPPATH = [cwd + "/include"]
|
|||||||
if GetDepend('RT_USING_POSIX'):
|
if GetDepend('RT_USING_POSIX'):
|
||||||
src += ['src/poll.c', 'src/select.c']
|
src += ['src/poll.c', 'src/select.c']
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
if GetDepend('RT_USING_DFS'):
|
if GetDepend('RT_USING_DFS'):
|
||||||
# search in the file system implementation
|
# search in the file system implementation
|
||||||
|
@ -6,6 +6,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_DEVFS'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_DEVFS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -21,6 +21,6 @@ if GetDepend('RT_DFS_ELM_USE_LFN'):
|
|||||||
else:
|
else:
|
||||||
src += ['option/ccsbcs.c']
|
src += ['option/ccsbcs.c']
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_ELMFAT'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_ELMFAT'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -45,6 +45,6 @@ src/write.c
|
|||||||
|
|
||||||
CPPPATH = [cwd, cwd + '/include', cwd + '/src', cwd + '/cyg', cwd + '/kernel', cwd + '/cyg/compress']
|
CPPPATH = [cwd, cwd + '/include', cwd + '/src', cwd + '/cyg', cwd + '/kernel', cwd + '/cyg/compress']
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_JFFS2'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_JFFS2'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -8,6 +8,6 @@ CPPPATH = [cwd]
|
|||||||
|
|
||||||
SrcRemove(src, ['rpc/auth_none.c'])
|
SrcRemove(src, ['rpc/auth_none.c'])
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_NFS'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_NFS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -4,6 +4,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS', 'RT_USING_MEMHEAP', 'RT_USING_DFS_RAMFS'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_MEMHEAP', 'RT_USING_DFS_RAMFS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -10,6 +10,6 @@ if GetDepend('DFS_ROMFS_ROOT'):
|
|||||||
# A new ROMFS root has been defined, we should remove the romfs.c
|
# A new ROMFS root has been defined, we should remove the romfs.c
|
||||||
SrcRemove(src, ['romfs.c'])
|
SrcRemove(src, ['romfs.c'])
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src, depend = ['RT_USING_DFS','RT_USING_DFS_ROMFS'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS','RT_USING_DFS_ROMFS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -33,6 +33,6 @@ src = src + uffs
|
|||||||
|
|
||||||
CPPPATH = [cwd, cwd + '/src/inc']
|
CPPPATH = [cwd, cwd + '/src/inc']
|
||||||
|
|
||||||
group = DefineGroup('FileSystem', src , depend = ['RT_USING_DFS', 'RT_USING_DFS_UFFS'], CPPPATH = CPPPATH)
|
group = DefineGroup('Filesystem', src , depend = ['RT_USING_DFS', 'RT_USING_DFS_UFFS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -7,7 +7,7 @@ src = ['sensor.c']
|
|||||||
CPPPATH = [cwd, cwd + '/../include']
|
CPPPATH = [cwd, cwd + '/../include']
|
||||||
|
|
||||||
if GetDepend('RT_USING_SENSOR_CMD'):
|
if GetDepend('RT_USING_SENSOR_CMD'):
|
||||||
src += ['sensor_cmd.c'];
|
src += ['sensor_cmd.c']
|
||||||
|
|
||||||
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
|
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
@ -6,6 +6,6 @@ cwd = GetCurrentDir()
|
|||||||
src = ['touch.c']
|
src = ['touch.c']
|
||||||
CPPPATH = [cwd, cwd + '/../include']
|
CPPPATH = [cwd, cwd + '/../include']
|
||||||
|
|
||||||
group = DefineGroup('Touch', src, depend = ['RT_USING_TOUCH', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_TOUCH', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -34,6 +34,6 @@ if not GetDepend('FINSH_USING_MSH_ONLY'):
|
|||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('FinSH', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH)
|
group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -6,6 +6,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('aio', src, depend = ['RT_USING_POSIX', 'RT_USING_POSIX_AIO'], CPPPATH = CPPPATH)
|
group = DefineGroup('libc', src, depend = ['RT_USING_POSIX', 'RT_USING_POSIX_AIO'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -15,7 +15,7 @@ if GetDepend('RT_USING_MODULE') == False:
|
|||||||
SrcRemove(src, ['libc_syms.c'])
|
SrcRemove(src, ['libc_syms.c'])
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
|
if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
|
||||||
group = DefineGroup('LIBC', src, depend = ['RT_USING_LIBC'],
|
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'],
|
||||||
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -17,6 +17,6 @@ if GetDepend('RT_USING_POSIX') == False:
|
|||||||
SrcRemove(src, ['unistd.c'])
|
SrcRemove(src, ['unistd.c'])
|
||||||
|
|
||||||
if not GetDepend('RT_USING_MINILIBC') and (GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME')):
|
if not GetDepend('RT_USING_MINILIBC') and (GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME')):
|
||||||
group = DefineGroup('LIBC', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('libc', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -20,7 +20,7 @@ if rtconfig.PLATFORM == 'iar':
|
|||||||
if LooseVersion(IARVersion()) < LooseVersion("8.20.1"):
|
if LooseVersion(IARVersion()) < LooseVersion("8.20.1"):
|
||||||
CPPDEFINES = CPPDEFINES + ['_DLIB_THREAD_SUPPORT']
|
CPPDEFINES = CPPDEFINES + ['_DLIB_THREAD_SUPPORT']
|
||||||
|
|
||||||
group = DefineGroup('dlib', src, depend = ['RT_USING_LIBC'],
|
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'],
|
||||||
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -9,7 +9,7 @@ CPPPATH = [cwd]
|
|||||||
CPPDEFINES = ['RT_USING_MINILIBC']
|
CPPDEFINES = ['RT_USING_MINILIBC']
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim' and not GetDepend('RT_USING_LIBC') and GetDepend('RT_USING_MINILIBC'):
|
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim' and not GetDepend('RT_USING_LIBC') and GetDepend('RT_USING_MINILIBC'):
|
||||||
group = DefineGroup('LIBC', src, depend = [''],
|
group = DefineGroup('libc', src, depend = [''],
|
||||||
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -15,7 +15,7 @@ CPPDEFINES = ['RT_USING_NEWLIB']
|
|||||||
LIBS = ['c', 'm']
|
LIBS = ['c', 'm']
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'gcc':
|
if rtconfig.PLATFORM == 'gcc':
|
||||||
group = DefineGroup('NewLIB', src, depend = ['RT_USING_LIBC'],
|
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'],
|
||||||
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -6,7 +6,7 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBC', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_LIBC', 'RT_USING_POSIX','RT_USING_POSIX_GETLINE'],
|
depend = ['RT_USING_LIBC', 'RT_USING_POSIX','RT_USING_POSIX_GETLINE'],
|
||||||
CPPPATH = CPPPATH)
|
CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ group = []
|
|||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'gcc':
|
if rtconfig.PLATFORM == 'gcc':
|
||||||
group = DefineGroup('LIBC', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_MODULE'],
|
depend = ['RT_USING_MODULE'],
|
||||||
CPPPATH = CPPPATH)
|
CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBC', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_DFS', 'RT_USING_POSIX_MMAP'],
|
depend = ['RT_USING_DFS', 'RT_USING_POSIX_MMAP'],
|
||||||
CPPPATH = CPPPATH)
|
CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ try:
|
|||||||
except :
|
except :
|
||||||
pass
|
pass
|
||||||
|
|
||||||
group = DefineGroup('Pthreads', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_PTHREADS', 'RT_USING_LIBC'], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
depend = ['RT_USING_PTHREADS', 'RT_USING_LIBC'], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -6,7 +6,7 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBC', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS', 'RT_USING_LIBC'],
|
depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS', 'RT_USING_LIBC'],
|
||||||
CPPPATH = CPPPATH)
|
CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBC', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_LIBC', 'RT_USING_POSIX', 'RT_USING_POSIX_TERMIOS'],
|
depend = ['RT_USING_LIBC', 'RT_USING_POSIX', 'RT_USING_POSIX_TERMIOS'],
|
||||||
CPPPATH = CPPPATH)
|
CPPPATH = CPPPATH)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp')
|
src = Glob('*.c') + Glob('*.cpp')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('Pthreads', src,
|
group = DefineGroup('libc', src,
|
||||||
depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
|
depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -82,6 +82,6 @@ if GetDepend(['RT_LWIP_PPP']):
|
|||||||
if GetDepend(['RT_LWIP_USING_PING']):
|
if GetDepend(['RT_LWIP_USING_PING']):
|
||||||
src += Glob('src/apps/ping/ping.c')
|
src += Glob('src/apps/ping/ping.c')
|
||||||
|
|
||||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP141'], CPPPATH = path)
|
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP141'], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -84,6 +84,6 @@ if GetDepend(['RT_USING_LWIP_IPV6']):
|
|||||||
if GetDepend(['RT_LWIP_USING_PING']):
|
if GetDepend(['RT_LWIP_USING_PING']):
|
||||||
src += Glob('src/apps/ping/ping.c')
|
src += Glob('src/apps/ping/ping.c')
|
||||||
|
|
||||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP202'], CPPPATH = path)
|
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP202'], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -260,6 +260,6 @@ if GetDepend(['RT_USING_LWIP_IPV6']):
|
|||||||
if GetDepend(['RT_LWIP_USING_PING']):
|
if GetDepend(['RT_LWIP_USING_PING']):
|
||||||
src += lwipping_SRCS
|
src += lwipping_SRCS
|
||||||
|
|
||||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP212'], CPPPATH = path)
|
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'RT_USING_LWIP212'], CPPPATH = path)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -9,6 +9,6 @@ else:
|
|||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
|
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -5,6 +5,6 @@ src = Glob('*.c')
|
|||||||
|
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_NAT'], CPPPATH = CPPPATH)
|
group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_NAT'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -8,6 +8,6 @@ src = Glob('src/*.c')
|
|||||||
|
|
||||||
CPPPATH = [cwd + '/include']
|
CPPPATH = [cwd + '/include']
|
||||||
|
|
||||||
group = DefineGroup('NetDev', src, depend = ['RT_USING_NETDEV'], CPPPATH = CPPPATH)
|
group = DefineGroup('SAL', src, depend = ['RT_USING_NETDEV'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -3,6 +3,6 @@ from building import *
|
|||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
group = DefineGroup('Utest', src, depend = ['RT_USING_UTEST'], CPPPATH = CPPPATH)
|
group = DefineGroup('UTest', src, depend = ['RT_USING_UTEST'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from building import *
|
from building import *
|
||||||
|
|
||||||
src = Glob('*.c')
|
src = Glob('*.c')
|
||||||
group = DefineGroup('LIBCTest', src, depend = ['RT_USING_NEWLIB', 'RT_USING_PTHREADS'])
|
group = DefineGroup('UTest', src, depend = ['RT_USING_NEWLIB', 'RT_USING_PTHREADS'])
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -8,7 +8,7 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
# build for sub-directory
|
# build for sub-directory
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
@ -8,6 +8,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -8,6 +8,6 @@ cwd = GetCurrentDir()
|
|||||||
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
src = Glob('*.c') + Glob('*.cpp') + Glob('*.S')
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -5,6 +5,6 @@ src = Glob('*.c')
|
|||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -10,6 +10,6 @@ CPPPATH = [cwd]
|
|||||||
|
|
||||||
src += Glob('*.S')
|
src += Glob('*.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -20,6 +20,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH, ASFLAGS = ASFLAGS)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
@ -18,6 +18,6 @@ if rtconfig.PLATFORM == 'gcc':
|
|||||||
if rtconfig.PLATFORM == 'iar':
|
if rtconfig.PLATFORM == 'iar':
|
||||||
src += Glob('*_iar.S')
|
src += Glob('*_iar.S')
|
||||||
|
|
||||||
group = DefineGroup('LIBARCH', src, depend = [''], CPPPATH = CPPPATH)
|
group = DefineGroup('CPU', src, depend = [''], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user