mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-24 17:33:58 +08:00
17 lines
363 B
Python
Executable File
17 lines
363 B
Python
Executable File
from building import *
|
|
|
|
group = []
|
|
src = []
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/rtc']
|
|
|
|
if GetDepend(['RT_RTC_RK8XX']):
|
|
src += ['rtc-rk8xx.c']
|
|
|
|
if GetDepend(['RT_RTC_RK_TIMER']):
|
|
src += ['rtc-rk_timer.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|