summaryrefslogtreecommitdiff
path: root/bsp/lpc178x/drivers/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-04-16 04:16:19 +0000
committer[email protected] <[email protected]>2012-04-16 04:16:19 +0000
commit0982f6e079b7a23a53e6f7212908a75383f0fa3e (patch)
tree8771a9ac5553c7f04dd6442891ecb03c1f2b057e /bsp/lpc178x/drivers/SConscript
parent50955197d5e80adcd029f330ce5e2e1c9ab1a598 (diff)
Added LCD driver and enable SDRAM.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2077 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/lpc178x/drivers/SConscript')
-rw-r--r--bsp/lpc178x/drivers/SConscript10
1 files changed, 3 insertions, 7 deletions
diff --git a/bsp/lpc178x/drivers/SConscript b/bsp/lpc178x/drivers/SConscript
index 80dff26c0f..b5a9b36b11 100644
--- a/bsp/lpc178x/drivers/SConscript
+++ b/bsp/lpc178x/drivers/SConscript
@@ -1,15 +1,11 @@
-import copy
-Import('RTT_ROOT')
-Import('rtconfig')
from building import *
-cwd = GetCurrentDir()
-src = Glob('*.c')
+cwd = GetCurrentDir()
+src = Glob('*.c')
# remove no need file.
if GetDepend('RT_USING_LWIP') == False:
- src_need_remove = ['emac.c'] # need remove file list.
- SrcRemove(src, src_need_remove)
+ SrcRemove(src, 'emac.c')
CPPPATH = [cwd]