From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot,1/2] kbuild: Add clang detection
Date: Mon, 25 Jan 2016 16:28:35 -0500 [thread overview]
Message-ID: <20160125212835.GU3359@bill-the-cat> (raw)
In-Reply-To: <1453253942-18591-1-git-send-email-trini@konsulko.com>
On Tue, Jan 19, 2016 at 08:39:01PM -0500, Tom Rini wrote:
> Adapted from:
>
> >From 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Mon Sep 17 00:00:00 2001
> From: Michal Marek <mmarek@suse.com>
> Date: Wed, 19 Aug 2015 17:36:41 +0200
> Subject: [PATCH 1/1] kbuild: Fix clang detection
>
> We cannot detect clang before including the arch Makefile, because that
> can set the default cross compiler. We also cannot detect clang after
> including the arch Makefile, because powerpc wants to know about clang.
> Solve this by using an deferred variable. This costs us a few shell
> invocations, but this is only a constant number.
>
> Reported-by: Behan Webster <behanw@converseincode.com>
> Reported-by: Anton Blanchard <anton@samba.org>
> Signed-off-by: Michal Marek <mmarek@suse.com>
>
> in the Linux kernel.
>
> This will allow us to make better decisions about when to run tests
> later on for gcc features.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160125/85fcbc57/attachment.sig>
prev parent reply other threads:[~2016-01-25 21:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 1:39 [U-Boot] [PATCH 1/2] kbuild: Add clang detection Tom Rini
2016-01-20 1:39 ` [U-Boot] [PATCH 2/2] arm, powerpc: Update cc-version tests to check for cc-name as well Tom Rini
2016-01-25 21:28 ` [U-Boot] [U-Boot, " Tom Rini
2016-01-25 21:28 ` Tom Rini [this message]
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=20160125212835.GU3359@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.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