]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12d4d1efcc6aa8261f302c097d7b90ad16b8920e
tree194614ef005a84ccc958240174ca0d36f5f60bf0
parent9ef7aeb45500635680f3c88819aee90b8ea29440
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