diff options
| author | xph <[email protected]> | 2020-04-09 16:35:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-09 16:35:28 +0800 |
| commit | ca7f01d79b3e0a997c771cec298e4ebd65b75809 (patch) | |
| tree | 3d2c48aae7203b14038ba7b98b500b5343ed7f2a /components/drivers/mtd/SConscript | |
| parent | f763f8e7284b0492c5a65ad0abf94ee1963d7dcc (diff) | |
| parent | baa3145bfe61b3330b6a160523cc5470fa5db3a7 (diff) | |
Merge pull request #1 from RT-Thread/master
sync rtt
Diffstat (limited to 'components/drivers/mtd/SConscript')
| -rw-r--r-- | components/drivers/mtd/SConscript | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/components/drivers/mtd/SConscript b/components/drivers/mtd/SConscript index 462c38194c..6f86656187 100644 --- a/components/drivers/mtd/SConscript +++ b/components/drivers/mtd/SConscript @@ -1,5 +1,3 @@ -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') |
