Skip to contentSkip to conversation

Fix build system and configure script to use for cross build. Optional IPv6.

PATCH Stephen Hemminger 2 participants 3 messages Dec 10, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · On Fri, 10 Dec 2010 18:34:31 +0300 Serj Kalichev <[email protected]>…

The Makefiles and configure script understand the external variables like CC, CFLAGS, LDFLAGS etc. So it can be used for cross build easily. The configure script use CC instead hardcoded gcc and search for the xtables within specified SYSROOT but not on the host. Two checks were added. The check for the IPv6 support and check for the Berkeley DB availability. The iproute2 can be build without IPv6 now.

IPv6 support should not be optional.

#2 lore raw

2010/12/10 Stephen Hemminger <[email protected]>:

Quoted 10 lines
Quoted 7 lines · On Fri, 10 Dec 2010 18:34:31 +0300 Serj Kalichev <[email protected]>…

The Makefiles and configure script understand the external variables like CC, CFLAGS, LDFLAGS etc. So it can be used for cross build easily. The configure script use CC instead hardcoded gcc and search for the xtables within specified SYSROOT but not on the host. Two checks were added. The check for the IPv6 support and check for the Berkeley DB availability. The iproute2 can be build without IPv6 now.

Quoted 7 lines
Quoted 1 line

IPv6 support should not be optional.

--

Why? I don't need an IPv6. Who need it - will switch it on. No problem

Sorry for duplication. I have subscribed to netdev list.

#3 lore raw
Quoted 13 lines · On Fri, 10 Dec 2010 21:13:28 +0300 Pkun <[email protected]> wrote:

2010/12/10 Stephen Hemminger <[email protected]>:

Quoted 12 lines
Quoted 8 lines · On Fri, 10 Dec 2010 18:34:31 +0300 Serj Kalichev <[email protected]>…

The Makefiles and configure script understand the external variables like CC, CFLAGS, LDFLAGS etc. So it can be used for cross build easily. The configure script use CC instead hardcoded gcc and search for the xtables within specified SYSROOT but not on the host. Two checks were added. The check for the IPv6 support and check for the Berkeley DB availability. The iproute2 can be build without IPv6 now.

Quoted 8 lines
Quoted 5 lines

IPv6 support should not be optional.

--

Why? I don't need an IPv6. Who need it - will switch it on. No problem

Because I want iproute to be a complete tool, not a user configurable nightmare. Just look at busybox to see what over configuration is.