mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
30 lines
701 B
Python
30 lines
701 B
Python
|
|
Import('RTT_ROOT')
|
||
|
|
Import('rtconfig')
|
||
|
|
from building import *
|
||
|
|
|
||
|
|
cwd = GetCurrentDir()
|
||
|
|
src = Glob('core/*.c')
|
||
|
|
|
||
|
|
CPPPATH = [cwd + '/inc']
|
||
|
|
|
||
|
|
CPPPATH += [cwd + '/services']
|
||
|
|
|
||
|
|
if GetDepend('LPKG_ADB_SERVICE_SHELL_ENABLE'):
|
||
|
|
src += ['services/shell_service.c']
|
||
|
|
|
||
|
|
if GetDepend('LPKG_ADB_SERVICE_FILE_ENABLE'):
|
||
|
|
src += ['services/file_sync_service.c']
|
||
|
|
|
||
|
|
if GetDepend('LPKG_ADB_EXTERNAL_MOD_ENABLE'):
|
||
|
|
src += ['services/file_exmod.c']
|
||
|
|
|
||
|
|
if GetDepend('LPKG_ADB_FILESYNC_MOD_ENABLE'):
|
||
|
|
src += ['services/file_sync_mod.c']
|
||
|
|
|
||
|
|
if GetDepend('LPKG_ADB_FILELIST_MOD_ENABLE'):
|
||
|
|
src += ['services/file_list_mod.c']
|
||
|
|
|
||
|
|
group = DefineGroup('adb', src, depend = ['LPKG_USING_ADBD'], CPPPATH = CPPPATH)
|
||
|
|
|
||
|
|
Return('group')
|