From b4de7cce57305033e86c3b187271683b609ddb26 Mon Sep 17 00:00:00 2001 From: "Ming, Bai" Date: Tue, 8 Jan 2013 22:40:58 +0800 Subject: Re-normalizing the repo --- components/drivers/rtc/SConscript | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'components/drivers/rtc/SConscript') 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 -- cgit v1.3.1