mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
20 lines
352 B
Python
20 lines
352 B
Python
# RT-Thread building script for zlib
|
|
|
|
from building import *
|
|
|
|
# get current directory
|
|
cwd = GetCurrentDir()
|
|
|
|
zlib_src = cwd + '/src'
|
|
|
|
src = Glob('src/*.c')
|
|
|
|
if GetDepend('LPKG_ZLIB_USING_SAMPLE'):
|
|
src += Glob('zlib_sample.c')
|
|
|
|
CPPPATH = [zlib_src]
|
|
|
|
group = DefineGroup('zlib', src, depend = ['LPKG_USING_ZLIB'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|