mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 02:18:54 +00:00
22 lines
457 B
Python
22 lines
457 B
Python
from building import *
|
|
Import('rtconfig')
|
|
|
|
src = []
|
|
path = []
|
|
cwd = GetCurrentDir()
|
|
|
|
src += Glob('port/artinchip/*.c')
|
|
src += Glob('ptp/dep/*.c')
|
|
src += Glob('ptp/*.c')
|
|
|
|
# add include path.
|
|
path += [cwd + '/port/artinchip']
|
|
path += [cwd + '/ptp']
|
|
path += [cwd + '/ptp/dep']
|
|
|
|
myccflags = (' -w')
|
|
# add src and include to group.
|
|
group = DefineGroup('ptpd', src, depend = ['LPKG_USING_PTPD'], CPPPATH = path, LOCAL_CFLAGS = myccflags)
|
|
|
|
Return('group')
|