summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_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-netem_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-netem_Makefile')
-rw-r--r--package/iproute2/patches/patch-netem_Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/iproute2/patches/patch-netem_Makefile b/package/iproute2/patches/patch-netem_Makefile
index 325d01925..b0aa792f7 100644
--- a/package/iproute2/patches/patch-netem_Makefile
+++ b/package/iproute2/patches/patch-netem_Makefile
@@ -1,5 +1,5 @@
---- iproute2-2.6.29-1.orig/netem/Makefile 2009-03-24 23:40:54.000000000 +0100
-+++ iproute2-2.6.29-1/netem/Makefile 2009-12-11 16:39:15.000000000 +0100
+--- iproute2-2.6.37.orig/netem/Makefile 2011-01-07 18:54:30.000000000 +0100
++++ iproute2-2.6.37/netem/Makefile 2011-01-18 02:19:41.386925447 +0100
@@ -2,13 +2,13 @@ DISTGEN = maketable normal pareto pareto
DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
@@ -24,4 +24,4 @@
+ $(HOSTCC) $(HOSTCFLAGS) -I../include -o $@ $@.c -lm
install: all
- mkdir -p $(DESTDIR)/lib/tc
+ mkdir -p $(DESTDIR)$(LIBDIR)/tc