aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/bugfix/m68k/133-arch.diff
blob: 2ef342af65dd344cba522c36d03ad351f31753c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Subject: [PATCH] Local m68k changes

Local m68k changes, _NEVER_ to be submitted upstream:
  - Force ARCH to be m68k
  - Append `-m68k' to EXTRAVERSION

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> for m68k CVS only

---
 Makefile          |    2 +-
 localversion.m68k |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-m68k-2.6.21.orig/Makefile
+++ linux-m68k-2.6.21/Makefile
@@ -182,7 +182,7 @@ SUBARCH := $(shell uname -m | sed -e s/i
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 
-ARCH		?= $(SUBARCH)
+ARCH		?= m68k
 CROSS_COMPILE	?=
 
 # Architecture as present in compile.h
--- /dev/null
+++ linux-m68k-2.6.21/localversion.m68k
@@ -0,0 +1 @@
+-m68k