mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-15 16:48:56 +00:00
20 lines
393 B
Python
20 lines
393 B
Python
Import('AIC_ROOT')
|
|
Import('PRJ_KERNEL')
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
CPPPATH = []
|
|
|
|
if GetDepend('AIC_RTC_PCF8563'):
|
|
CPPPATH.append(cwd + 'pcf8563/')
|
|
src += Glob('pcf8563/*.c')
|
|
|
|
if GetDepend('AIC_RTC_RX8010'):
|
|
CPPPATH.append(cwd + 'rx8010/')
|
|
src += Glob('rx8010/*.c')
|
|
|
|
group = DefineGroup('rtc', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|