[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181104231133.30848-1-joel@jms.id.au>
Date: Mon, 5 Nov 2018 09:41:31 +1030
From: Joel Stanley <joel@....id.au>
To: Michael Ellerman <mpe@...erman.id.au>,
Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH 0/2] poewrpc/Boot: Fix cross compiling with clang
Hello,
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 | 3 +++
arch/powerpc/boot/Makefile | 7 +++++++
2 files changed, 10 insertions(+)
--
2.19.1
Powered by blists - more mailing lists