[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190503142604.GD5602@osiris>
Date: Fri, 3 May 2019 16:26:04 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
clang-built-linux@...glegroups.com,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-s390@...r.kernel.org, Vasily Gorbik <gor@...ux.ibm.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Luc Van Oostenryck <luc.vanoostenryck@...il.com>,
Philipp Rudo <prudo@...ux.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] s390: boot, purgatory: pass $(CLANG_FLAGS) where
needed
On Mon, Apr 15, 2019 at 09:12:06AM -0700, Nathan Chancellor wrote:
> On Mon, Apr 15, 2019 at 10:35:52AM +0200, Arnd Bergmann wrote:
> > The purgatory and boot Makefiles do not inherit the original cflags,
> > so clang falls back to the default target architecture when building it,
> > typically this would be x86 when cross-compiling.
> >
> > Add $(CLANG_FLAGS) everywhere so we pass the correct --target=s390x-linux
> > option when cross-compiling.
> >
> > Signed-off-by: Arnd Bergmann <arnd@...db.de>
>
> Reviewed-by: Nathan Chancellor <natechancellor@...il.com>
>
> > ---
> > arch/s390/Makefile | 4 ++--
> > arch/s390/purgatory/Makefile | 1 +
> > 2 files changed, 3 insertions(+), 2 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists