Files
luban-lite/bsp/peripheral/rtc/SConscript
刘可亮 724d6bf65e v1.1.2
2025-01-08 19:12:06 +08:00

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')