summaryrefslogtreecommitdiff
path: root/components/drivers/misc/SConscript
diff options
context:
space:
mode:
authorArda <[email protected]>2015-03-10 12:01:25 +0800
committerArda <[email protected]>2015-03-10 12:01:25 +0800
commit4a9c3fae2900da71cdf026063679d2c25f266fd7 (patch)
tree2fba8aec09a671cc36d281365351003a988eb57d /components/drivers/misc/SConscript
parent5fe489a3949cdbb947d3c719a7ef958a37e8d826 (diff)
parent89ceb7dc27895225bc221d22c035d5cc8802a256 (diff)
Merge pull request #3 from RT-Thread/master
sync with official source
Diffstat (limited to 'components/drivers/misc/SConscript')
-rw-r--r--components/drivers/misc/SConscript14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/drivers/misc/SConscript b/components/drivers/misc/SConscript
new file mode 100644
index 0000000000..7f269d4ee9
--- /dev/null
+++ b/components/drivers/misc/SConscript
@@ -0,0 +1,14 @@
+from building import *
+
+cwd = GetCurrentDir()
+src = []
+CPPPATH = [cwd + '/../include']
+group = []
+
+if GetDepend(['RT_USING_PIN']):
+ src = src + ['pin.c']
+
+if len(src):
+ group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')