aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/Makefile')
-rw-r--r--arch/parisc/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index 5707f1a62341..87f64d6b5dcb 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -32,11 +32,6 @@ ifdef CONFIG_64BIT
32UTS_MACHINE := parisc64 32UTS_MACHINE := parisc64
33CHECKFLAGS += -D__LP64__=1 -m64 33CHECKFLAGS += -D__LP64__=1 -m64
34WIDTH := 64 34WIDTH := 64
35
36# FIXME: if no default set, should really try to locate dynamically
37ifeq ($(CROSS_COMPILE),)
38CROSS_COMPILE := hppa64-linux-gnu-
39endif
40else # 32-bit 35else # 32-bit
41WIDTH := 36WIDTH :=
42endif 37endif
@@ -44,6 +39,10 @@ endif
44# attempt to help out folks who are cross-compiling 39# attempt to help out folks who are cross-compiling
45ifeq ($(NATIVE),1) 40ifeq ($(NATIVE),1)
46CROSS_COMPILE := hppa$(WIDTH)-linux- 41CROSS_COMPILE := hppa$(WIDTH)-linux-
42else
43 ifeq ($(CROSS_COMPILE),)
44 CROSS_COMPILE := hppa$(WIDTH)-linux-gnu-
45 endif
47endif 46endif
48 47
49OBJCOPY_FLAGS =-O binary -R .note -R .comment -S 48OBJCOPY_FLAGS =-O binary -R .note -R .comment -S