mbox series

[v2,0/2] powerpc/boot: Fix cross compiling with clang

Message ID 20181112042116.5271-1-joel@jms.id.au
Headers show
Series powerpc/boot: Fix cross compiling with clang | expand

Message

Joel Stanley Nov. 12, 2018, 4:21 a.m. UTC
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