mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 01:59:51 +02:00
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 | ||