[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKwvOdm8WZTeB_wxkO2nN7PW=v=2z7tdVapTq-TiB18nZZfS=A@mail.gmail.com>
Date: Mon, 5 Nov 2018 14:37:44 -0800
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: joel@....id.au
Cc: mpe@...erman.id.au,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 0/2] poewrpc/Boot: Fix cross compiling with clang
On Sun, Nov 4, 2018 at 3:11 PM Joel Stanley <joel@....id.au> wrote:
>
> 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.
Hi Joel, thanks for the series! I'm just curious, how does the boot
wrapper run on a different arch than 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
>
--
Thanks,
~Nick Desaulniers
Powered by blists - more mailing lists