Files
luban-lite-t3e-pro/packages/third-party/ramdisk/SConscript

17 lines
337 B
Python
Raw Normal View History

2025-09-30 11:56:06 +08:00
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')