[BSP] fix the option of EMAC file in SConscript.

This commit is contained in:
bernard committed 2017-12-30 14:46:02 +08:00
1 parent 8e4307382f
commit 7c3d6fbbda
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ src = Glob('*.c')
CPPPATH = [cwd]
if not GetDepend('BSP_DRV_EMAC'):
SrcRemove(src, ['drv_lan9118.c'])
SrcRemove(src, ['drv_smc911x.c'])
if not GetDepend('BSP_DRV_CLCD'):
SrcRemove(src, ['drv_clcd.c'])