From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <5514671F.7030903@pengutronix.de> Date: Thu, 26 Mar 2015 21:07:59 +0100 From: Marc Kleine-Budde MIME-Version: 1.0 References: <1427383321-23633-1-git-send-email-oliver.graute@neuhaus.de> In-Reply-To: <1427383321-23633-1-git-send-email-oliver.graute@neuhaus.de> Subject: Re: [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: , Content-Type: multipart/mixed; boundary="===============2110437352==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Oliver Graute This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============2110437352== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JsUSWK8xrl2OQ2K6iw5vJmsl8MmgnfSMp" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JsUSWK8xrl2OQ2K6iw5vJmsl8MmgnfSMp Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/26/2015 04:22 PM, Oliver Graute wrote: > for cross compilation on arm we need this patch >=20 > 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= =2Epatch > create mode 100644 patches/opennhrp-0.14.1/series >=20 > 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. > +=20 > +-CROSS_COMPILE ?=3D > ++CC =3D arm-v5te-linux-gnueabi-gcc > ++CROSS_COMPILE :=3D arm-v5te-linux-gnueabi- That's not portable, please add this to you .make file: _COMPILE_OPT :=3D \ CROSS_COMPILE=3D$(COMPILER_PREFIX) regards, Marc --=20 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 | --JsUSWK8xrl2OQ2K6iw5vJmsl8MmgnfSMp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJVFGcfAAoJECte4hHFiupUNj8P/jDJ5hZMC4+S4LDzI5CXRIUy 5mSp+35shJhFps2h7B8892I2IyXdFyiGqhQVCXNMmCDneYhgNbPAaXR5FzPDiGWW +HCT22xX0hYrP51nhScNzOoz1a9AU77oGICbpCyloiKVeksYVhULAC9Jqk1GI5Mm 6mg1qs6YUM2CWTdLIrycwgsMduVbQIu8Ma23PwVq96v+FYUpiQ8qYfAytbt0Qz05 gWO30pgpYReaf+OSR66xIN1LM7yQaCCgxkT7bsCX2pebnP0o6fyaa4ubZPD3tx/c 27Ypu6FmZFLqlWxeX6zPUK8xZaIrdQ+EVPY85Vp0TDLNEQpQSnLlzc+cAWEXSGw9 WtCT1mzoZluqzdl69E1lGlq5SJPgjaVKaXyQHKazsn3a9gYdpR8y+OFhAwuKyD7I EpKBXl75g7DZEpkBvZWhV8WVhOl+HnHVVyWoN87sMIvEyZfYpkW3zpVOqCw8AuAj UvX+EL3f1a8ZyRYkKZpCdQpT5D/t4+ghL9Qzj/iErm05L2F0WZ+QKiqVekuiNvY5 FVw/HFpNK4cEjLhabgjHXkxcAm4OftpW04VYA44Ykt9GzABkhAqYdHqpONt+0cAM IAdSIUPqzyJ78yCi8VJ5qDqcso3hsJjYSqUstlmZCXeboYWUF7MI71h3ol7wzwaZ yX3rQqt5RLMMMW+jBCJy =1BZ0 -----END PGP SIGNATURE----- --JsUSWK8xrl2OQ2K6iw5vJmsl8MmgnfSMp-- --===============2110437352== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============2110437352==--