From: Wolfgang Grandegger <wg@grandegger.com>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Wolfgang Grandegger <wg@grandegger.com>
Subject: [PATCH 1/2] iproute2: Fixes an issue with cross-compilation
Date: Tue, 12 May 2009 11:42:49 +0200 [thread overview]
Message-ID: <20090512094248.614764546@denx.de> (raw)
In-Reply-To: 20090512094248.439786706@denx.de
[-- Attachment #1: 01-cross-compilation.patch --]
[-- Type: text/plain, Size: 587 bytes --]
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
---
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)\"
next prev parent reply other threads:[~2009-05-12 9:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 9:42 [PATCH 0/2] iproute2: Support for CAN network devices Wolfgang Grandegger
2009-05-12 9:42 ` Wolfgang Grandegger [this message]
2009-05-12 9:42 ` [PATCH 2/2] iproute2: Support for the CAN netlink Wolfgang Grandegger
2009-05-20 7:54 ` [PATCH 0/2] iproute2: Support for CAN network devices Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090512094248.614764546@denx.de \
--to=wg@grandegger.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).