summaryrefslogtreecommitdiff
path: root/components/net
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-06-09 14:07:59 +0000
committer[email protected] <[email protected]>2011-06-09 14:07:59 +0000
commit0513333a10933fbbd9f04e88455e0e2d08d29a4e (patch)
tree770446595a7d12b74cb462f7fe52cbc08abf3fda /components/net
parente6a874abb4aaea0c08b1b19a031b8f7d471dd555 (diff)
Add RT_LWIP_VER130, RT_LWIP_VER140 options.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/net')
-rw-r--r--components/net/lwip-1.4.0/SConscript10
-rw-r--r--components/net/lwip/SConscript10
2 files changed, 10 insertions, 10 deletions
diff --git a/components/net/lwip-1.4.0/SConscript b/components/net/lwip-1.4.0/SConscript
index eeaf673727..bf6aefbef1 100644
--- a/components/net/lwip-1.4.0/SConscript
+++ b/components/net/lwip-1.4.0/SConscript
@@ -68,10 +68,10 @@ src/netif/ppp/vj.c
""")
# The set of source files associated with this SConscript file.
-path = [RTT_ROOT + '/components/net/lwip-1.4.0/src',
- RTT_ROOT + '/components/net/lwip-1.4.0/src/include',
- RTT_ROOT + '/components/net/lwip-1.4.0/src/include/ipv4',
- RTT_ROOT + '/components/net/lwip-1.4.0/src/arch/include',
+path = [RTT_ROOT + '/components/net/lwip-1.4.0/src',
+ RTT_ROOT + '/components/net/lwip-1.4.0/src/include',
+ RTT_ROOT + '/components/net/lwip-1.4.0/src/include/ipv4',
+ RTT_ROOT + '/components/net/lwip-1.4.0/src/arch/include',
RTT_ROOT + '/components/net/lwip-1.4.0/src/include/netif']
if GetDepend(['RT_LWIP_SNMP']):
@@ -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')
diff --git a/components/net/lwip/SConscript b/components/net/lwip/SConscript
index 3bbbe18e10..78b87eb548 100644
--- a/components/net/lwip/SConscript
+++ b/components/net/lwip/SConscript
@@ -67,10 +67,10 @@ src/netif/ppp/vj.c
""")
# The set of source files associated with this SConscript file.
-path = [RTT_ROOT + '/components/net/lwip/src',
- RTT_ROOT + '/components/net/lwip/src/include',
- RTT_ROOT + '/components/net/lwip/src/include/ipv4',
- RTT_ROOT + '/components/net/lwip/src/arch/include',
+path = [RTT_ROOT + '/components/net/lwip/src',
+ RTT_ROOT + '/components/net/lwip/src/include',
+ RTT_ROOT + '/components/net/lwip/src/include/ipv4',
+ RTT_ROOT + '/components/net/lwip/src/arch/include',
RTT_ROOT + '/components/net/lwip/src/include/netif']
if GetDepend(['RT_LWIP_SNMP']):
@@ -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')