diff options
| author | bernard.xiong <[email protected]> | 2011-07-15 08:52:50 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2011-07-15 08:52:50 +0000 |
| commit | be5f855a44ff118c12f6ac99893f3c6213b89df4 (patch) | |
| tree | 32a03a8090b184f98463b9d6f7c95e56cecae200 /components/net/lwip/SConscript | |
| parent | a30661ebc5ca0735f8a4c5c4172064bc9dbfa045 (diff) | |
use GetCurrentDir() function to get CPATH.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1631 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/net/lwip/SConscript')
| -rw-r--r-- | components/net/lwip/SConscript | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/net/lwip/SConscript b/components/net/lwip/SConscript index 2e2dc350e3..8fe3dfa8f6 100644 --- a/components/net/lwip/SConscript +++ b/components/net/lwip/SConscript @@ -65,18 +65,18 @@ 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',
- RTT_ROOT + '/components/net/lwip/src/include/netif']
+path = [GetCurrentDir() + '/src',
+ GetCurrentDir() + '/src/include',
+ GetCurrentDir() + '/src/include/ipv4',
+ GetCurrentDir() + '/src/arch/include',
+ GetCurrentDir() + '/src/include/netif']
if GetDepend(['RT_LWIP_SNMP']):
src += snmp_src
if GetDepend(['RT_LWIP_PPP']):
src += ppp_src
- path += [RTT_ROOT + '/components/net/lwip/src/netif/ppp']
+ path += [GetCurrentDir() + '/src/netif/ppp']
# For testing apps
if GetDepend(['RT_USING_NETUTILS']):
|
