mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 17:18:56 +00:00
v1.1.0
This commit is contained in:
21
kernel/ucos-ii/SConscript
Normal file
21
kernel/ucos-ii/SConscript
Normal file
@@ -0,0 +1,21 @@
|
||||
Import('PRJ_KERNEL')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
path = [cwd + '/Source']
|
||||
path += [cwd + '/Cfg/Template']
|
||||
|
||||
path += [cwd + '/Ports/RISC-V/RV64/GCC']
|
||||
|
||||
src = Glob('*.c')
|
||||
src += Glob('Source/ucos_ii.c')
|
||||
src += Glob('Ports/entry.c')
|
||||
|
||||
src += Glob('Ports/RISC-V/RV64/GCC/*.c')
|
||||
src += Glob('Ports/RISC-V/RV64/GCC/*.S')
|
||||
|
||||
myccflags = (' -w')
|
||||
|
||||
group = DefineGroup('ucos-ii', src, depend = ['KERNEL_UCOS_II'], CPPPATH = path, LOCAL_CFLAGS=myccflags)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user