linux/arch/xtensa
Masahiro Yamada 23243c1ace arch: use cross_compiling to check whether it is a cross build or not
'cross_compiling' is defined by the top Makefile and available for
arch Makefiles to check whether it is a cross build or not. A good
thing is the variable name 'cross_compiling' is self-documenting.

This is a simple replacement for m68k, mips, sh, for which $(ARCH)
and $(SRCARCH) always match.

No functional change is intended for xtensa, either.

This is rather a fix for parisc because arch/parisc/Makefile defines
UTS_MATCHINE depending on CONFIG_64BIT, therefore cc-cross-prefix
is not working in Kconfig time.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Helge Deller <deller@gmx.de>  # parisc
Acked-by: Max Filippov <jcmvbkbc@gmail.com> # xtensa
2021-05-06 01:49:13 +09:00
..
boot xtensa: remove unneeded export in boot-elf/Makefile 2021-04-04 15:39:02 -07:00
configs arch: xtensa: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
include xtensa: drop extraneous register load from initialize_mmu 2021-04-04 15:39:04 -07:00
kernel Xtensa updates for v5.13: 2021-04-30 12:09:28 -07:00
lib xtensa: propagate the calling conventions change down into csum_partial_copy_generic() 2020-08-20 15:45:21 -04:00
mm Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
platforms Xtensa updates for v5.13: 2021-04-30 12:09:28 -07:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kconfig Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
Kconfig.debug xtensa: make stack dump size configurable 2019-11-26 11:33:39 -08:00
Makefile arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00