import RT-Thread@9217865c without bsp, libcpu and components/net
This commit is contained in:
commit
e2376a3709
1414 changed files with 390370 additions and 0 deletions
21
components/drivers/mtd/SConscript
Normal file
21
components/drivers/mtd/SConscript
Normal file
|
@ -0,0 +1,21 @@
|
|||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = []
|
||||
depend = ['']
|
||||
|
||||
CPPPATH = [cwd + '/../include']
|
||||
group = []
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR']):
|
||||
src += ['mtd_nor.c']
|
||||
depend += ['RT_USING_MTD_NOR']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NAND']):
|
||||
src += ['mtd_nand.c']
|
||||
depend += ['RT_USING_MTD_NAND']
|
||||
|
||||
if src:
|
||||
group = DefineGroup('DeviceDrivers', src, depend = depend, CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
Loading…
Add table
Add a link
Reference in a new issue