mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
17 lines
321 B
Python
17 lines
321 B
Python
from building import *
|
|
Import('rtconfig')
|
|
|
|
src = []
|
|
cwd = GetCurrentDir()
|
|
|
|
if GetDepend('LPKG_USING_RAMDISK'):
|
|
src += Glob('src/*.c')
|
|
|
|
# add include path.
|
|
path = [cwd + '/inc']
|
|
|
|
# add src and include to group.
|
|
group = DefineGroup('ramdisk', src, depend = ['LPKG_USING_RAMDISK'], CPPPATH = path)
|
|
|
|
Return('group')
|