summaryrefslogtreecommitdiff
path: root/package/iproute2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-26 23:39:17 +0100
commit26f7c999e7c586eeb0eabeaf34ebbc9b3c145d7c (patch)
tree22f152f92d6c1e9c325583f46278a385ffefd38b /package/iproute2/Makefile
parent67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff)
another round of native compile fixes
Diffstat (limited to 'package/iproute2/Makefile')
-rw-r--r--package/iproute2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 1cab309f2..3c6ff16eb 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -19,7 +19,7 @@ PKGSB_TC:= iptables
PKGSD_TC_ATM:= iproute2 traffic control ATM support library
PKGSS_TC_ATM:= tc libatm
PKGSB_TC_ATM:= linux-atm
-PKGSD_TC_IPT:= iproute 2 traffic control IPTables support library
+PKGSD_TC_IPT:= iproute2 traffic control IPTables support library
PKGSS_TC_IPT:= tc iptables
PKGSB_TC_IPT:= iptables
PKGSD_IFSTAT:= iproute2 interface statistics utility
@@ -42,10 +42,11 @@ $(eval $(call PKG_template,ROUTEL,routel,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_
$(eval $(call PKG_template,RTMON,rtmon,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_RTMON},${PKG_SECTION}))
$(eval $(call PKG_template,SS,ss,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_SS},${PKG_SECTION}))
+CONFIG_STYLE:= minimal
TARGET_CFLAGS+= -D_GNU_SOURCE
XAKE_FLAGS+= CCOPTS="${TARGET_CFLAGS}" MFLAGS="CC=\"${TARGET_CC}\"" \
- HOSTCFLAGS="-I${LINUX_HEADER_DIR}/include"
-CONFIGURE_ENV+= IPTC="${TARGET_CFLAGS}" IPTL="${TARGET_LDFLAGS}"
+ CFLAGS_FOR_BUILD+="-I${LINUX_HEADER_DIR}/include"
+CONFIGURE_ENV+= CC="${TARGET_CC}" IPTC="${TARGET_CFLAGS}" IPTL="${TARGET_LDFLAGS}"
ip-install:
${INSTALL_DIR} ${IDIR_IP}/{etc/iproute2,usr/sbin}