diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2008-06-07 19:42:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 08:30:39 -0400 |
commit | 1976aef97020563d337b4875be0edb9f0fee98aa (patch) | |
tree | eb33e91d3c0dfdb883992ad588390a8c2c5a55c5 /arch/powerpc | |
parent | ad19dbdb4b224deabbf6080e238256ffbc9be485 (diff) |
powerpc: Get rid of CROSS32{AS,LD,OBJCOPY}
CROSS32AS and CROSS32LD are never used (instead, CROSS32CC is used
with proper command line options).
CROSS32OBJCOPY isn't used anymore either, since the "wrapper" stuff
was added.
Remove these unused variables.
Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Makefile | 8 |
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) | |||
18 | CROSS32_COMPILE ?= | 18 | CROSS32_COMPILE ?= |
19 | 19 | ||
20 | CROSS32CC := $(CROSS32_COMPILE)gcc | 20 | CROSS32CC := $(CROSS32_COMPILE)gcc |
21 | CROSS32AS := $(CROSS32_COMPILE)as | ||
22 | CROSS32LD := $(CROSS32_COMPILE)ld | ||
23 | CROSS32AR := $(CROSS32_COMPILE)ar | 21 | CROSS32AR := $(CROSS32_COMPILE)ar |
24 | CROSS32OBJCOPY := $(CROSS32_COMPILE)objcopy | ||
25 | 22 | ||
26 | ifeq ($(HAS_BIARCH),y) | 23 | ifeq ($(HAS_BIARCH),y) |
27 | ifeq ($(CROSS32_COMPILE),) | 24 | ifeq ($(CROSS32_COMPILE),) |
28 | CROSS32CC := $(CC) -m32 | 25 | CROSS32CC := $(CC) -m32 |
29 | CROSS32AS := $(AS) -a32 | ||
30 | CROSS32LD := $(LD) -m elf32ppc | ||
31 | CROSS32OBJCOPY := $(OBJCOPY) | ||
32 | CROSS32AR := GNUTARGET=elf32-powerpc $(AR) | 26 | CROSS32AR := GNUTARGET=elf32-powerpc $(AR) |
33 | endif | 27 | endif |
34 | endif | 28 | endif |
35 | 29 | ||
36 | export CROSS32CC CROSS32AS CROSS32LD CROSS32AR CROSS32OBJCOPY | 30 | export CROSS32CC CROSS32AR |
37 | 31 | ||
38 | ifeq ($(CROSS_COMPILE),) | 32 | ifeq ($(CROSS_COMPILE),) |
39 | KBUILD_DEFCONFIG := $(shell uname -m)_defconfig | 33 | KBUILD_DEFCONFIG := $(shell uname -m)_defconfig |