mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Javier Fileiv <javier.fileiv@gmail.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Problem adding new package.
Date: Wed, 9 Oct 2013 09:27:39 +0200	[thread overview]
Message-ID: <CABvwO2DtA3Vu_QxyrhJxx2V4QC1_8P1LbHPtcb7Qi-VxG+4g=g@mail.gmail.com> (raw)
In-Reply-To: <CABvwO2D75864FqW8YAUYn0QfDDsMojmtbAWujOsiQ_mt6KLYFA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1551 bytes --]

One question...the patch you sent me>..I don't know which file I have to
apply it to... I couldnt find the gcc_defaults.mak


2013/10/9 Javier Fileiv <javier.fileiv@gmail.com>

> 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 <mkl@pengutronix.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
>>
>>     <YOUR_NEW_PACKGE>_MAKE_OPT := $(CROSS_ENV_CC)
>>
>> to rules/<your_new_pacakge>.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   |
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 2836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-10-09  7:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05 18:14 Javier Fileiv
2013-10-05 18:27 ` Marc Kleine-Budde
2013-10-06  8:56   ` Javier Fileiv
     [not found]     ` <CABvwO2D==XqM_d06=kA8PZPTQdtNPWdHwOnBXrexGb6HZwZh2w@mail.gmail.com>
2013-10-06  9:59       ` [ptxdist] Fwd: " Javier Fileiv
2013-10-06 10:04     ` [ptxdist] " Marc Kleine-Budde
2013-10-09  7:22       ` Javier Fileiv
2013-10-09  7:27         ` Javier Fileiv [this message]
2013-10-09 11:11           ` Marc Kleine-Budde
2013-10-09 18:50             ` Javier Fileiv
2013-10-09 19:21               ` Marc Kleine-Budde
2013-10-10 19:53                 ` Javier Fileiv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABvwO2DtA3Vu_QxyrhJxx2V4QC1_8P1LbHPtcb7Qi-VxG+4g=g@mail.gmail.com' \
    --to=javier.fileiv@gmail.com \
    --cc=mkl@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox