Files
luban-lite/packages/artinchip/zipfs/SConscript
刘可亮 3e10f578d3 v1.2.2
2025-10-21 13:59:50 +08:00

25 lines
595 B
Python

from building import *
Import('rtconfig')
src = []
cwd = GetCurrentDir()
install = []
if GetDepend('LPKG_USING_ZIPFS'):
src += Glob('src/*.c')
if GetDepend('LPKG_ZIPFS_DEMO'):
src += Glob('zip_reader_demo.c')
src += Glob('zip_fs_demo.c')
ins_dst = 'rodata/zipfs_test'
ins_src = 'test_zip_files/'
install = [(ins_src, ins_dst)]
# add include path.
path = [cwd + '/inc']
# add src and include to group.
group = DefineGroup('zipfs', src, depend = ['LPKG_USING_ZIPFS'], CPPPATH = path,
INSTALL = install)
Return('group')