mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
20 lines
363 B
Python
20 lines
363 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
src = Split('''
|
|
|
|
''')
|
|
|
|
if GetDepend(['LPKG_USING_HTTP_OTA']):
|
|
src += Glob('src/http_ota.c')
|
|
|
|
if GetDepend(['LPKG_USING_YMODEM_OTA']):
|
|
src += Glob('src/ymodem_ota.c')
|
|
|
|
group = DefineGroup('ota_downloader', src, depend = ['LPKG_USING_HTTP_OTA_DOWNLOADER'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|