mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCHv3 2/2] opennhrp: added cross compile patch
@ 2015-03-26 15:22 Oliver Graute
  2015-03-26 20:07 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Graute @ 2015-03-26 15:22 UTC (permalink / raw)
  To: ptxdist; +Cc: Oliver Graute

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-26 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 15:22 [ptxdist] [PATCHv3 2/2] opennhrp: added cross compile patch Oliver Graute
2015-03-26 20:07 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox