linux/arch/s390
Arnd Bergmann 96fb54a180 s390: boot, purgatory: pass $(CLANG_FLAGS) where needed
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>
2019-05-03 17:17:58 +02:00
..
appldata sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD 2018-10-26 16:26:32 -07:00
boot s390: only build for new CPUs with clang 2019-05-03 17:17:58 +02:00
configs s390/kexec_file: Signature verification prototype 2019-04-29 10:44:01 +02:00
crypto s390: add missing ENDPROC statements to assembler functions 2019-05-02 13:54:11 +02:00
hypfs s390/kernel: introduce .dma sections 2019-04-29 10:47:10 +02:00
include s390: simplify disabled_wait 2019-05-02 13:54:11 +02:00
kernel s390: simplify disabled_wait 2019-05-02 13:54:11 +02:00
kvm s390/airq: recognize directed interrupts 2019-04-29 10:47:01 +02:00
lib s390: add missing ENDPROC statements to assembler functions 2019-05-02 13:54:11 +02:00
mm s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
net s390: Convert IS_ENABLED uses to __is_defined 2019-04-11 13:36:53 +02:00
numa treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci s390/pci: add parameter to disable usage of MIO instructions 2019-04-29 10:47:01 +02:00
purgatory s390: boot, purgatory: pass $(CLANG_FLAGS) where needed 2019-05-03 17:17:58 +02:00
scripts s390: make chkbss work with clang 2019-04-11 13:36:52 +02:00
tools s390/opcodes: add missing instructions to the disassembler 2019-05-02 13:54:11 +02:00
defconfig s390/kexec_file: Signature verification prototype 2019-04-29 10:44:01 +02:00
Kbuild s390/kexec_file: Add purgatory 2018-04-16 09:10:22 +02:00
Kconfig s390: only build for new CPUs with clang 2019-05-03 17:17:58 +02:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile s390: boot, purgatory: pass $(CLANG_FLAGS) where needed 2019-05-03 17:17:58 +02:00