linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] powerpc/boot: Fix cross compiling with clang
@ 2018-11-12  4:21 Joel Stanley
  2018-11-12  4:21 ` [PATCH v2 1/2] Makefile: Export clang toolchain variables Joel Stanley
  2018-11-12  4:21 ` [PATCH v2 2/2] powerpc/boot: Set target when cross-compiling for clang Joel Stanley
  0 siblings, 2 replies; 9+ messages in thread
From: Joel Stanley @ 2018-11-12  4:21 UTC (permalink / raw)
  To: Masahiro Yamada, Michael Ellerman
  Cc: Michal Marek, Daniel Axtens, Nick Desaulniers, linux-kbuild,
	linux-kernel, linuxppc-dev

v2: rebase on "kbuild: consolidate Clang compiler flags"

These patches allow clang to cross-compile the powerpc boot wrapper.
The boot wrapper constructs it's own compiler flags as it may not be
built for the same arch as the kernel.

The powerpc64le kernel builds natively with clang and with this patch it
can cross compile too.

Joel Stanley (2):
  Makefile: Export clang toolchain variables
  powerpc/boot: Set target when cross-compiling for clang

 Makefile                   | 1 +
 arch/powerpc/boot/Makefile | 5 +++++
 2 files changed, 6 insertions(+)

-- 
2.19.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-13 23:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-12  4:21 [PATCH v2 0/2] powerpc/boot: Fix cross compiling with clang Joel Stanley
2018-11-12  4:21 ` [PATCH v2 1/2] Makefile: Export clang toolchain variables Joel Stanley
2018-11-12 18:55   ` Nick Desaulniers
2018-11-13  5:16     ` Masahiro Yamada
2018-11-13 23:34   ` Masahiro Yamada
2018-11-12  4:21 ` [PATCH v2 2/2] powerpc/boot: Set target when cross-compiling for clang Joel Stanley
2018-11-12 11:14   ` Michael Ellerman
2018-11-12 19:03   ` Nick Desaulniers
2018-11-13 23:25     ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).