[Device Drivers] Remove backup mtd code

This commit is contained in:
BernardXiong 2019-06-27 07:43:53 +00:00
parent 0c07c2005d
commit c92ec76df8
1 changed files with 1 additions and 14 deletions

View File

@ -1,5 +1,3 @@
Import('RTT_ROOT')
Import('rtconfig')
from building import * from building import *
cwd = GetCurrentDir() cwd = GetCurrentDir()
@ -9,17 +7,6 @@ depend = []
CPPPATH = [cwd + '/../include'] CPPPATH = [cwd + '/../include']
group = [] group = []
if GetDepend(['RT_USING_MTD']):
src += ['mtd.c']
depend += ['RT_USING_MTD']
if GetDepend(['MTD_USING_NOR']):
src += ['mtdnor.c']
depend += ['MTD_USING_NOR']
if GetDepend(['MTD_USING_NAND']):
src += ['mtdnand.c']
depend += ['MTD_USING_NAND']
if GetDepend(['RT_USING_MTD_NOR']): if GetDepend(['RT_USING_MTD_NOR']):
src += ['mtd_nor.c'] src += ['mtd_nor.c']
depend += ['RT_USING_MTD_NOR'] depend += ['RT_USING_MTD_NOR']
@ -31,4 +18,4 @@ if GetDepend(['RT_USING_MTD_NAND']):
if src: if src:
group = DefineGroup('DeviceDrivers', src, depend = depend, CPPPATH = CPPPATH) group = DefineGroup('DeviceDrivers', src, depend = depend, CPPPATH = CPPPATH)
Return('group') Return('group')