提交 c92ec76d 编写于 作者: B BernardXiong

[Device Drivers] Remove backup mtd code

上级 0c07c200
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = GetCurrentDir()
......@@ -9,17 +7,6 @@ depend = []
CPPPATH = [cwd + '/../include']
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']):
src += ['mtd_nor.c']
depend += ['RT_USING_MTD_NOR']
......@@ -31,4 +18,4 @@ if GetDepend(['RT_USING_MTD_NAND']):
if src:
group = DefineGroup('DeviceDrivers', src, depend = depend, CPPPATH = CPPPATH)
Return('group')
\ No newline at end of file
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册