diff options
Diffstat (limited to 'components/drivers/rtc/SConscript')
| -rw-r--r-- | components/drivers/rtc/SConscript | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/components/drivers/rtc/SConscript b/components/drivers/rtc/SConscript index 65552a7765..9191ffec97 100644 --- a/components/drivers/rtc/SConscript +++ b/components/drivers/rtc/SConscript @@ -1,20 +1,20 @@ -from building import *
-
-cwd = GetCurrentDir()
-src = []
-
-rtc = ['rtc.c']
-
-rtc_alarm = ['alarm.c']
-
-CPPPATH = [cwd + '/../include']
-group = []
-
-if GetDepend(['RT_USING_RTC']):
- src = src + rtc
- if GetDepend(['RT_USING_ALARM']):
- src = src + rtc_alarm
-
-group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_RTC'], CPPPATH = CPPPATH)
-
+from building import * + +cwd = GetCurrentDir() +src = [] + +rtc = ['rtc.c'] + +rtc_alarm = ['alarm.c'] + +CPPPATH = [cwd + '/../include'] +group = [] + +if GetDepend(['RT_USING_RTC']): + src = src + rtc + if GetDepend(['RT_USING_ALARM']): + src = src + rtc_alarm + +group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_RTC'], CPPPATH = CPPPATH) + Return('group')
\ No newline at end of file |
