From d3c4a628fbee8ccda9c3500a01c7d817adbb9e4d Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 19 Jan 2011 02:06:32 +0100 Subject: 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 --- package/iproute2/patches/patch-netem_Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/iproute2/patches/patch-netem_Makefile') 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 -- cgit v1.2.3