diff options
Diffstat (limited to 'bsp/lpc178x/drivers/SConscript')
| -rw-r--r-- | bsp/lpc178x/drivers/SConscript | 10 |
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]
|
