From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Javier Fileiv <javier.fileiv@gmail.com>
Subject: Re: [ptxdist] Problem adding new package.
Date: Sun, 06 Oct 2013 12:04:42 +0200 [thread overview]
Message-ID: <525135BA.7000408@pengutronix.de> (raw)
In-Reply-To: <CABvwO2CeSmTrBE1nMRG8qj2T8Nn9rKqtOO27DN0HNYg4P5_hvQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1170 bytes --]
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: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2013-10-06 10:04 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 ` Marc Kleine-Budde [this message]
2013-10-09 7:22 ` [ptxdist] " Javier Fileiv
2013-10-09 7:27 ` Javier Fileiv
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=525135BA.7000408@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=javier.fileiv@gmail.com \
--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