Add RT_LWIP_VER130, RT_LWIP_VER140 options.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
e6a874abb4
commit
0513333a10
|
@ -81,6 +81,6 @@ if GetDepend(['RT_LWIP_PPP']):
|
|||
src += ppp_src
|
||||
path += [RTT_ROOT + '/components/net/lwip-1.4.0/src/netif/ppp']
|
||||
|
||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP'], CPPPATH = path)
|
||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_LWIP_VER140'], CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -80,6 +80,6 @@ if GetDepend(['RT_LWIP_PPP']):
|
|||
src += ppp_src
|
||||
path += [RTT_ROOT + '/components/net/lwip/src/netif/ppp']
|
||||
|
||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP'], CPPPATH = path)
|
||||
group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'RT_LWIP_VER130'], CPPPATH = path)
|
||||
|
||||
Return('group')
|
||||
|
|
|
@ -276,6 +276,9 @@ def PrepareBuilding(env, root_directory, has_libcpu=False):
|
|||
if (GetDepend('RT_USING_NEWLIB') == False and GetDepend('RT_USING_NOLIBC') == False) and rtconfig.PLATFORM == 'gcc':
|
||||
AddDepend('RT_USING_MINILIBC')
|
||||
|
||||
if (GetDepend('RT_USING_LWIP') == True and GetDepend('RT_LWIP_VER140') == False):
|
||||
AddDepend('RT_LWIP_VER130')
|
||||
|
||||
# add target option
|
||||
AddOption('--target',
|
||||
dest='target',
|
||||
|
|
Loading…
Reference in New Issue