From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Yb9bn-0005BL-6r for ptxdist@pengutronix.de; Thu, 26 Mar 2015 16:22:12 +0100 Received: by wgdm6 with SMTP id m6so68283328wgd.2 for ; Thu, 26 Mar 2015 08:22:05 -0700 (PDT) From: Oliver Graute Date: Thu, 26 Mar 2015 16:22:01 +0100 Message-Id: <1427383321-23633-1-git-send-email-oliver.graute@neuhaus.de> Subject: [ptxdist] [PATCHv3 2/2] opennhrp: added cross compile patch Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Oliver Graute 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- + 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