[PATCH 1/2] iproute2: Fixes an issue with cross-compilation

From: Wolfgang Grandegger
Date: Tue May 12 2009 - 05:43:22 EST


Signed-off-by: Wolfgang Grandegger <wg@xxxxxxxxxxxxxx>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Index: iproute2/Makefile
===================================================================
--- iproute2.orig/Makefile
+++ iproute2/Makefile
@@ -1,4 +1,5 @@
DESTDIR=/usr/
+ROOTDIR=$(DESTDIR)
LIBDIR=/usr/lib/
SBINDIR=/sbin
CONFDIR=/etc/iproute2
@@ -7,7 +8,7 @@ MANDIR=/share/man
ARPDDIR=/var/lib/arpd

# Path to db_185.h include
-DBM_INCLUDE:=/usr/include
+DBM_INCLUDE:=$(ROOTDIR)/usr/include

DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/