On 03/26/2015 04:22 PM, Oliver Graute wrote: > for cross compilation on arm we need this patch > > Signed-off-by: Oliver Graute > --- > .../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- That's not portable, please add this to you .make file: _COMPILE_OPT := \ CROSS_COMPILE=$(COMPILER_PREFIX) regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |