[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181112042116.5271-1-joel@jms.id.au>
Date: Mon, 12 Nov 2018 14:51:14 +1030
From: Joel Stanley <joel@....id.au>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michael Ellerman <mpe@...erman.id.au>
Cc: Michal Marek <michal.lkml@...kovi.net>,
Daniel Axtens <dja@...ens.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH v2 0/2] powerpc/boot: Fix cross compiling with clang
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
Powered by blists - more mailing lists