summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/SConscript
diff options
context:
space:
mode:
authorwuyangyong <[email protected]>2012-06-14 13:17:50 +0000
committerwuyangyong <[email protected]>2012-06-14 13:17:50 +0000
commit7582459691aa6c12e2e250fac339d5051474932a (patch)
treebf6adda2729ed52a04107ecb37f059c2cd5f409c /components/drivers/rtc/SConscript
parent9e3c72a6351388c3cc332753e42f8f95aaa9785d (diff)
add RTC public function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2164 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers/rtc/SConscript')
-rw-r--r--components/drivers/rtc/SConscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/drivers/rtc/SConscript b/components/drivers/rtc/SConscript
new file mode 100644
index 0000000000..b2d50de758
--- /dev/null
+++ b/components/drivers/rtc/SConscript
@@ -0,0 +1,8 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd + '/../include']
+group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_RTC'], CPPPATH = CPPPATH)
+
+Return('group')