From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: <525135BA.7000408@pengutronix.de> References: <52505A18.8010003@pengutronix.de> <525135BA.7000408@pengutronix.de> Date: Wed, 9 Oct 2013 09:22:43 +0200 Message-ID: From: Javier Fileiv 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="===============0583106315==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Marc Kleine-Budde Cc: ptxdist@pengutronix.de --===============0583106315== Content-Type: multipart/alternative; boundary=047d7b4142d650143c04e849c017 --047d7b4142d650143c04e849c017 Content-Type: text/plain; charset=ISO-8859-1 Sorry Marc, I thought we were not replying to each other on the forum. Thanks, I will try to do what you just told me. Bye! 2013/10/6 Marc Kleine-Budde > Hello Javier, > > Please don't top-post and please keep the mailinglist on CC. > > On 10/06/2013 10:56 AM, Javier Fileiv wrote: > > What does it mean?? Isnt there any work around? > > That means they don't care about cross compiling, so it doesn't work. > > Workaround - Maybe. It might work if you apply the following patch > and add > > _MAKE_OPT := $(CROSS_ENV_CC) > > to rules/.make > > Marc > > diff --git a/config/compilers/gcc_defaults.mak > b/config/compilers/gcc_defaults.mak > index a885266..7240ab3 100644 > --- a/config/compilers/gcc_defaults.mak > +++ b/config/compilers/gcc_defaults.mak > @@ -38,8 +38,8 @@ > ## > ## > > ########################################################################### > > -CC=gcc > -CXX=gcc > +CC=$(CC) > +CXX=$(CC) > ifeq ($(OSTYPE),Darwin) > CXX=g++ > endif > > > -- > 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 | > > --047d7b4142d650143c04e849c017 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Sorry Marc, I thought we were not replying to each other o= n the forum.

Thanks, I will try to do what you just told= me.

Bye!

2013/10/6 Marc Kleine-Budde <mkl@pengutron= ix.de>
Hello Javier,

Please don't top-post and please keep the mailinglist on CC.

On 10/06/2013 10:56 AM, Javier Fileiv wrote:
> What does it mean?? Isnt there any work around?

That means they don't care about cross compiling, so it doesn'= ;t work.

Workaround - Maybe. It might work if you apply the following patch
and add

=A0 =A0 <YOUR_NEW_PACKGE>_MAKE_OPT :=3D $(CROSS_ENV_CC)

to rules/<your_new_pacakge>.make

Marc

diff --git a/config/compilers/gcc_defaults.mak b/config/compilers/gcc_defau= lts.mak
index a885266..7240ab3 100644
--- a/config/compilers/gcc_defaults.mak
+++ b/config/compilers/gcc_defaults.mak
@@ -38,8 +38,8 @@
=A0 ## =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ##<= br> =A0 #######################################################################= ####

-CC=3Dgcc
-CXX=3Dgcc
+CC=3D$(CC)
+CXX=3D$(CC)
=A0ifeq ($(OSTYPE),Darwin)
=A0CXX=3Dg++
=A0endif


--
Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| Marc Kleine-Budde =A0= =A0 =A0 =A0 =A0 |
Industrial Linux Solutions =A0 =A0 =A0 =A0| Phone: +49-231-2826-924 =A0 =A0 |
Vertretung West/Dortmund =A0 =A0 =A0 =A0 =A0| Fax: =A0 +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 =A0| http://www.pengutronix.de =A0 |


--047d7b4142d650143c04e849c017-- --===============0583106315== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0583106315==--