diff options
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index d6014a67694b..6238b5875fd1 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -29,7 +29,7 @@ CROSS32CC := $(CC) -m32 | |||
29 | CROSS32AS := $(AS) -a32 | 29 | CROSS32AS := $(AS) -a32 |
30 | CROSS32LD := $(LD) -m elf32ppc | 30 | CROSS32LD := $(LD) -m elf32ppc |
31 | CROSS32OBJCOPY := $(OBJCOPY) | 31 | CROSS32OBJCOPY := $(OBJCOPY) |
32 | CROSS32AR := $(AR) | 32 | CROSS32AR := GNUTARGET=elf32-powerpc $(AR) |
33 | endif | 33 | endif |
34 | endif | 34 | endif |
35 | 35 | ||
@@ -58,6 +58,7 @@ ifeq ($(HAS_BIARCH),y) | |||
58 | override AS += -a$(SZ) | 58 | override AS += -a$(SZ) |
59 | override LD += -m elf$(SZ)ppc | 59 | override LD += -m elf$(SZ)ppc |
60 | override CC += -m$(SZ) | 60 | override CC += -m$(SZ) |
61 | override AR := GNUTARGET=elf$(SZ)-powerpc $(AR) | ||
61 | endif | 62 | endif |
62 | 63 | ||
63 | LDFLAGS_vmlinux := -Bstatic | 64 | LDFLAGS_vmlinux := -Bstatic |