summaryrefslogtreecommitdiff
path: root/package/iproute2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-13 17:26:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-13 17:27:13 +0100
commit1ee30e3c419824f45dc52d67516274548548b574 (patch)
tree1236b86768cd24425234fb99486ed342c5d427fb /package/iproute2/Makefile
parentd512d21dc70b6ab7151b43c0e302255434260d32 (diff)
update to Linux Kernel 2.6.37
Diffstat (limited to 'package/iproute2/Makefile')
-rw-r--r--package/iproute2/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 90b27a057..f0c815e59 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -41,18 +41,21 @@ $(eval $(call PKG_template,SS,ss,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_SS},${PK
TCFLAGS+= -D_GNU_SOURCE
XAKE_FLAGS+= CCOPTS="${TCFLAGS}" MFLAGS="CC=${TARGET_CC}" \
HOSTCFLAGS="-I${LINUX_HEADER_DIR}/include"
-
CONFIGURE_FLAGS+= KERNEL_INCLUDE="${LINUX_DIR}/include"
+post-configure:
+ $(CP) ./files/Config $(WRKBUILD)/
+
ip-install:
${INSTALL_DIR} ${IDIR_IP}/{etc/iproute2,usr/sbin}
${INSTALL_DATA} ${WRKINST}/etc/iproute2/* ${IDIR_IP}/etc/iproute2/
${INSTALL_BIN} ${WRKINST}/sbin/ip ${IDIR_IP}/usr/sbin/ip
tc-install:
- ${INSTALL_DIR} ${IDIR_TC}/{lib/tc,usr/sbin}
+ ${INSTALL_DIR} ${IDIR_TC}/{lib/tc,usr/sbin,usr/lib/tc}
# use ${CP} here, since m_ipt.so is a symlink to m_xt.so
- ${CP} ${WRKINST}/lib/tc/{m_*.so,*.dist} ${IDIR_TC}/lib/tc/
+ ${CP} ${WRKINST}/lib/tc/m_*.so ${IDIR_TC}/lib/tc/
+ ${CP} ${WRKINST}/usr/lib/tc/*.dist ${IDIR_TC}/usr/lib/tc/
${INSTALL_BIN} ${WRKINST}/sbin/tc ${IDIR_TC}/usr/sbin/
tc-atm-install: