summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-01-19 02:06:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-20 14:00:27 +0100
commitd3c4a628fbee8ccda9c3500a01c7d817adbb9e4d (patch)
tree1fa09c83fa6345945bd135e78974f7635d7cc7ec /package/iproute2/patches/patch-Makefile
parentcde33531cc2f70323f24127775eacf66364d38c8 (diff)
iproute2: fix compiling tc helper libs
First of all, tc may support iptables if available. Dedicate a sub-package for the libs generated then, so the plain tc package will always contain the same stuff regardless of whether iptables is there or not. Given the right options, iproute2 is indeed able to detect iptables and libatm, so do that instead of using a shipped Config file. Patches updated as a nice side effect. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/iproute2/patches/patch-Makefile')
-rw-r--r--package/iproute2/patches/patch-Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/iproute2/patches/patch-Makefile b/package/iproute2/patches/patch-Makefile
index 841c6f32e..d84ffa57b 100644
--- a/package/iproute2/patches/patch-Makefile
+++ b/package/iproute2/patches/patch-Makefile
@@ -3,9 +3,9 @@
overriding CCOPTS instead wont work, as this variable is being
used to compile host-utils in netem/
- define LIBUTIL for misc/ss to compile correctly
---- iproute2-2.6.29-1.orig/Makefile 2009-03-24 23:40:54.000000000 +0100
-+++ iproute2-2.6.29-1/Makefile 2009-11-25 08:59:58.000000000 +0100
-@@ -20,10 +20,10 @@ ADDLIB+=dnet_ntop.o dnet_pton.o
+--- iproute2-2.6.37.orig/Makefile 2011-01-07 18:54:30.000000000 +0100
++++ iproute2-2.6.37/Makefile 2011-01-18 02:19:41.379921947 +0100
+@@ -27,10 +27,10 @@ ADDLIB+=dnet_ntop.o dnet_pton.o
#options for ipx
ADDLIB+=ipx_ntop.o ipx_pton.o
@@ -20,7 +20,7 @@
YACCFLAGS = -d -t -v
LDLIBS += -L../lib -lnetlink -lutil
-@@ -31,6 +31,7 @@ LDLIBS += -L../lib -lnetlink -lutil
+@@ -38,6 +38,7 @@ LDLIBS += -L../lib -lnetlink -lutil
SUBDIRS=lib ip tc misc netem genl
LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a