Searched hist:"5631 d9c429857194bd55d7bcd8fa5bdd1a9899a3" (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/scripts/ |
H A D | Kbuild.include | 29c4d281bc9d379450f792050c7681022f6fbafa Tue Jan 19 19:39:01 CST 2016 Tom Rini <trini@konsulko.com> kbuild: Add clang detection
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>
|
/openbmc/linux/scripts/ |
H A D | Makefile.extrawarn | 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Wed Aug 19 10:36:41 CDT 2015 Michal Marek <mmarek@suse.com> 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>
|
H A D | Kbuild.include | 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Wed Aug 19 10:36:41 CDT 2015 Michal Marek <mmarek@suse.com> 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>
|
/openbmc/linux/arch/powerpc/ |
H A D | Makefile | 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Wed Aug 19 10:36:41 CDT 2015 Michal Marek <mmarek@suse.com> 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>
|
/openbmc/linux/ |
H A D | Makefile | 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Wed Aug 19 10:36:41 CDT 2015 Michal Marek <mmarek@suse.com> 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>
|