From: Oliver Graute <oliver.graute@gmail.com>
To: ptxdist@pengutronix.de
Cc: Oliver Graute <oliver.graute@neuhaus.de>
Subject: [ptxdist] [PATCHv3 2/2] opennhrp: added cross compile patch
Date: Thu, 26 Mar 2015 16:22:01 +0100 [thread overview]
Message-ID: <1427383321-23633-1-git-send-email-oliver.graute@neuhaus.de> (raw)
for cross compilation on arm we need this patch
Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
.../0001-cross-compile-makerule.patch | 13 +++++++++++++
patches/opennhrp-0.14.1/series | 1 +
2 files changed, 14 insertions(+)
create mode 100644 patches/opennhrp-0.14.1/0001-cross-compile-makerule.patch
create mode 100644 patches/opennhrp-0.14.1/series
diff --git a/patches/opennhrp-0.14.1/0001-cross-compile-makerule.patch b/patches/opennhrp-0.14.1/0001-cross-compile-makerule.patch
new file mode 100644
index 0000000..fd45b37
--- /dev/null
+++ b/patches/opennhrp-0.14.1/0001-cross-compile-makerule.patch
@@ -0,0 +1,13 @@
+diff -rupN m/Make.rules n/Make.rules
+--- m/Make.rules 2012-12-12 09:59:45.000000000 +0100
++++ n/Make.rules 2014-10-01 15:17:51.000000000 +0200
+@@ -63,7 +63,8 @@ export FULL_VERSION RCS_FIND_IGNORE
+ ##
+ # Utilities and default flags for them.
+
+-CROSS_COMPILE ?=
++CC = arm-v5te-linux-gnueabi-gcc
++CROSS_COMPILE := arm-v5te-linux-gnueabi-
+ CC := $(CROSS_COMPILE)gcc
+ LD := $(CROSS_COMPILE)ld
+ INSTALL := install
diff --git a/patches/opennhrp-0.14.1/series b/patches/opennhrp-0.14.1/series
new file mode 100644
index 0000000..3777ec1
--- /dev/null
+++ b/patches/opennhrp-0.14.1/series
@@ -0,0 +1 @@
+0001-cross-compile-makerule.patch
--
1.7.9.5
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2015-03-26 15:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 15:22 Oliver Graute [this message]
2015-03-26 20:07 ` Marc Kleine-Budde
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=1427383321-23633-1-git-send-email-oliver.graute@neuhaus.de \
--to=oliver.graute@gmail.com \
--cc=oliver.graute@neuhaus.de \
--cc=ptxdist@pengutronix.de \
/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