powerpc/boot: Set target when cross-compiling for clang
authorJoel Stanley <joel@jms.id.au>
Mon, 12 Nov 2018 04:21:16 +0000 (14:51 +1030)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Nov 2018 23:21:23 +0000 (08:21 +0900)
commit813af51f5d30a2da6a2523c08465f9726e51772e
tree194614ef005a84ccc958240174ca0d36f5f60bf0
parent3bd9805090af843b25f97ffe5049f20ade1d86d6
powerpc/boot: Set target when cross-compiling for clang

Clang needs to be told which target it is building for when cross
compiling.

Link: https://github.com/ClangBuiltLinux/linux/issues/259
Signed-off-by: Joel Stanley <joel@jms.id.au>
Tested-by: Daniel Axtens <dja@axtens.net> # powerpc 64-bit BE
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/powerpc/boot/Makefile