linux/arch
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
..
alpha mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
arc mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
arm kbuild: add a script to remove stale generated files 2021-05-02 00:43:35 +09:00
arm64 Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
csky mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
h8300 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
hexagon mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
ia64 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
m68k arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00
microblaze mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
mips arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00
nds32 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
nios2 mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
openrisc mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
parisc arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00
powerpc kbuild: replace LANG=C with LC_ALL=C 2021-05-02 00:43:35 +09:00
riscv mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
s390 Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
sh arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00
sparc sparc: syscalls: switch to generic syscallshdr.sh 2021-05-02 00:43:34 +09:00
um mm: move mem_init_print_info() into mm_init() 2021-04-30 11:20:42 -07:00
x86 Merge branch 'akpm' (patches from Andrew) 2021-04-30 14:38:01 -07:00
xtensa arch: use cross_compiling to check whether it is a cross build or not 2021-05-06 01:49:13 +09:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig mm/vmalloc: hugepage vmalloc mappings 2021-04-30 11:20:40 -07:00