diff options
| author | [email protected] <[email protected]> | 2012-06-27 00:59:28 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-27 00:59:28 +0000 |
| commit | a97ed29249f3e13e55f6ae203be52980ed9f6211 (patch) | |
| tree | 593077e10c13ee084061dccffea90ff3952ae073 /bsp/sam7x/drivers/SConscript | |
| parent | 6c19a26481702ac526898fc65fd166168aee2422 (diff) | |
update the sam7x project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2189 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/sam7x/drivers/SConscript')
| -rw-r--r-- | bsp/sam7x/drivers/SConscript | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bsp/sam7x/drivers/SConscript b/bsp/sam7x/drivers/SConscript new file mode 100644 index 0000000000..5b10d6f2f5 --- /dev/null +++ b/bsp/sam7x/drivers/SConscript @@ -0,0 +1,16 @@ +from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+
+# remove no need file.
+if GetDepend('RT_USING_LWIP') == False:
+ SrcRemove(src, 'sam7x_emac.c')
+if GetDepend('RT_USING_DFS') == False:
+ SrcRemove(src, 'ssd.c')
+
+CPPPATH = [cwd]
+
+group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
+
+Return('group')
|
