aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index b7d4c4ce2fe6..59ae7d9cdccf 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -18,22 +18,16 @@ HAS_BIARCH := $(call cc-option-yn, -m32)
18CROSS32_COMPILE ?= 18CROSS32_COMPILE ?=
19 19
20CROSS32CC := $(CROSS32_COMPILE)gcc 20CROSS32CC := $(CROSS32_COMPILE)gcc
21CROSS32AS := $(CROSS32_COMPILE)as
22CROSS32LD := $(CROSS32_COMPILE)ld
23CROSS32AR := $(CROSS32_COMPILE)ar 21CROSS32AR := $(CROSS32_COMPILE)ar
24CROSS32OBJCOPY := $(CROSS32_COMPILE)objcopy
25 22
26ifeq ($(HAS_BIARCH),y) 23ifeq ($(HAS_BIARCH),y)
27ifeq ($(CROSS32_COMPILE),) 24ifeq ($(CROSS32_COMPILE),)
28CROSS32CC := $(CC) -m32 25CROSS32CC := $(CC) -m32
29CROSS32AS := $(AS) -a32
30CROSS32LD := $(LD) -m elf32ppc
31CROSS32OBJCOPY := $(OBJCOPY)
32CROSS32AR := GNUTARGET=elf32-powerpc $(AR) 26CROSS32AR := GNUTARGET=elf32-powerpc $(AR)
33endif 27endif
34endif 28endif
35 29
36export CROSS32CC CROSS32AS CROSS32LD CROSS32AR CROSS32OBJCOPY 30export CROSS32CC CROSS32AR
37 31
38ifeq ($(CROSS_COMPILE),) 32ifeq ($(CROSS_COMPILE),)
39KBUILD_DEFCONFIG := $(shell uname -m)_defconfig 33KBUILD_DEFCONFIG := $(shell uname -m)_defconfig