From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <525539D5.3060400@pengutronix.de> Date: Wed, 09 Oct 2013 13:11:17 +0200 From: Marc Kleine-Budde MIME-Version: 1.0 References: <52505A18.8010003@pengutronix.de> <525135BA.7000408@pengutronix.de> In-Reply-To: Subject: Re: [ptxdist] Problem adding new package. 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="===============0057025537==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Javier Fileiv This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0057025537== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kifcHiAnkxkVuIGek1UKR6X3fe3pKQfBK" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kifcHiAnkxkVuIGek1UKR6X3fe3pKQfBK Content-Type: multipart/mixed; boundary="------------090801030607020507000407" This is a multi-part message in MIME format. --------------090801030607020507000407 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Javier, please don't top-post. On 10/09/2013 09:27 AM, Javier Fileiv wrote: > One question...the patch you sent me>..I don't know which file I have t= o > apply it to... I couldnt find the gcc_defaults.mak It's in speech_tools-2.1-release.tar.gz You have to create a patches dir in your BSP, named after you package. To figure out use: ptxdist print SPEECH_TOOLS The output is probably "speech_tools-2.1-release". So create a dir "patches/speech_tools-2.1-release" and place the attached patch there. Create a series file in that directory, too: ls 0* > series Then add: _MAKE_OPT :=3D $(CROSS_ENV_CC) to rules/.make Then rebuild: ptxdist clean ptxdist targetinstall Everything totally untested, 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 | --------------090801030607020507000407 Content-Type: text/x-diff; name="0001-gcc_defaults-HACK-build-system-to-make-CC-and-CXX-ov.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*0="0001-gcc_defaults-HACK-build-system-to-make-CC-and-CXX-ov.pa"; filename*1="tch" =46rom a86bf6be627f876c370c9fafcaf304f1e85a0f17 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 9 Oct 2013 09:30:38 +0200 Subject: [PATCH] gcc_defaults: HACK build system to make CC and CXX overwriteable --- config/compilers/gcc_defaults.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/compilers/gcc_defaults.mak b/config/compilers/gcc_def= aults.mak index a885266..7240ab3 100644 --- a/config/compilers/gcc_defaults.mak +++ b/config/compilers/gcc_defaults.mak @@ -38,8 +38,8 @@ ## = ## #######################################################################= #### =20 -CC=3Dgcc -CXX=3Dgcc +CC=3D$(CC) +CXX=3D$(CC) ifeq ($(OSTYPE),Darwin) CXX=3Dg++ endif --=20 1.8.4.rc3 --------------090801030607020507000407-- --kifcHiAnkxkVuIGek1UKR6X3fe3pKQfBK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlJVOdgACgkQjTAFq1RaXHNVGgCbB4C7eXZ6hlK9hqLdnrSt0I4k hY4An0bzOdmnWjtCWFZf4CHBNupkdDK+ =OGla -----END PGP SIGNATURE----- --kifcHiAnkxkVuIGek1UKR6X3fe3pKQfBK-- --===============0057025537== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0057025537==--