From 0513333a10933fbbd9f04e88455e0e2d08d29a4e Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Thu, 9 Jun 2011 14:07:59 +0000 Subject: Add RT_LWIP_VER130, RT_LWIP_VER140 options. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/net/lwip-1.4.0/SConscript | 10 +++++----- components/net/lwip/SConscript | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'components/net') 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') -- cgit v1.3.1