aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/bugfix/m68k/133-arch.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/bugfix/m68k/133-arch.diff')
-rw-r--r--debian/patches/bugfix/m68k/133-arch.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/bugfix/m68k/133-arch.diff b/debian/patches/bugfix/m68k/133-arch.diff
new file mode 100644
index 000000000000..2ef342af65dd
--- /dev/null
+++ b/debian/patches/bugfix/m68k/133-arch.diff
@@ -0,0 +1,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