mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
17 lines
362 B
Python
17 lines
362 B
Python
Import('AIC_ROOT')
|
|
Import('PRJ_KERNEL')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd, ]
|
|
src = []
|
|
|
|
if GetDepend('KERNEL_BAREMETAL') and GetDepend('LPKG_MPP') and GetDepend('AIC_ZLIB_TEST'):
|
|
src += Glob('test_zlib.c')
|
|
|
|
CFLAGS = ' -c -ffunction-sections'
|
|
|
|
group = DefineGroup('test_zlib', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|