mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-15 16:48:56 +00:00
18 lines
502 B
Python
18 lines
502 B
Python
|
|
Import('PRJ_KERNEL')
|
||
|
|
from building import *
|
||
|
|
|
||
|
|
cwd = GetCurrentDir()
|
||
|
|
path = [cwd + '/include']
|
||
|
|
path += [cwd + '/portable/GCC/RISC-V']
|
||
|
|
path += [cwd + '/portable/GCC/RISC-V/chip_specific_extensions/RV32I_CLINT_no_extensions']
|
||
|
|
|
||
|
|
src = Glob('*.c')
|
||
|
|
src += Glob('portable/MemMang/heap_5.c')
|
||
|
|
src += Glob('portable/GCC/RISC-V/*.c')
|
||
|
|
src += Glob('portable/GCC/RISC-V/*.S')
|
||
|
|
|
||
|
|
CPPDEFINES = []
|
||
|
|
|
||
|
|
group = DefineGroup('freertos', src, depend = ['KERNEL_FREERTOS'], CPPPATH = path, CPPDEFINES = CPPDEFINES)
|
||
|
|
|
||
|
|
Return('group')
|