rtt更新
This commit is contained in:
@@ -3,16 +3,20 @@ from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Split("""
|
||||
block_dev.c
|
||||
mmcsd_core.c
|
||||
sd.c
|
||||
sdio.c
|
||||
gpt.c
|
||||
mmc.c
|
||||
dev_block.c
|
||||
dev_mmcsd_core.c
|
||||
dev_sd.c
|
||||
dev_sdio.c
|
||||
dev_mmc.c
|
||||
""")
|
||||
|
||||
# The set of source files associated with this SConscript file.
|
||||
path = [cwd + '/../include']
|
||||
path = [cwd + '/../include' , cwd + '/sdhci/include']
|
||||
|
||||
if GetDepend('RT_USING_SDHCI'):
|
||||
src += [os.path.join('sdhci', 'sdhci.c')]
|
||||
src += [os.path.join('sdhci', 'fit-mmc.c')]
|
||||
src += [os.path.join('sdhci', 'sdhci-platform.c')]
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SDIO'], CPPPATH = path)
|
||||
|
||||
|
Reference in New Issue
Block a user