Skip to content

Commit ed97948

Browse files
committed
parisc: Detect hppa-suse-linux-gcc compiler for cross-building
Allow the system to find the SUSE hppa compiler and linker to set CROSS32_COMPILE and CROSS_COMPILE. Suggested-by: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent ac2dd32 commit ed97948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/parisc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export LD_BFD
4242

4343
# Set default 32 bits cross compilers for vdso
4444
CC_ARCHES_32 = hppa hppa2.0 hppa1.1
45-
CC_SUFFIXES = linux linux-gnu unknown-linux-gnu
45+
CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
4646
CROSS32_COMPILE := $(call cc-cross-prefix, \
4747
$(foreach a,$(CC_ARCHES_32), \
4848
$(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))
@@ -52,7 +52,7 @@ export CROSS32CC
5252
# Set default cross compiler for kernel build
5353
ifdef cross_compiling
5454
ifeq ($(CROSS_COMPILE),)
55-
CC_SUFFIXES = linux linux-gnu unknown-linux-gnu
55+
CC_SUFFIXES = linux linux-gnu unknown-linux-gnu suse-linux
5656
CROSS_COMPILE := $(call cc-cross-prefix, \
5757
$(foreach a,$(CC_ARCHES), \
5858
$(foreach s,$(CC_SUFFIXES),$(a)-$(s)-)))

0 commit comments

Comments
 (0)