mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
96fb54a180
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@arndb.de> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> |
||
---|---|---|
.. | ||
.gitignore | ||
head.S | ||
kexec-purgatory.S | ||
Makefile | ||
purgatory.c | ||
purgatory.lds.S |