summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-09-20 15:26:35 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-09-20 15:26:35 +0000
commit302f88cab606e6f2428570eae2e75ee7bed710e8 (patch)
treedd7d3aef764c8c4862d2d1986b4c97b6bb5e2fe7 /packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch
parentd4ca648c92a7beca94017d420656318a5c53e18d (diff)
linux-oz: added 2.6.18 (not tested)
- some patches refreshed: - collie-mcp-r0 -> r1 - tmio-tc6393-r6 -> r7 - tmio-nand-r5 -> r6 - tmio-ohci-r4 -> r5 - tosa-tmio-lcd-r8 -> r9 - tosa-lcdnoise-r0 -> r1
Diffstat (limited to 'packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch')
-rw-r--r--packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch b/packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch
new file mode 100644
index 0000000000..44b33c2e56
--- /dev/null
+++ b/packages/linux/linux-openzaurus-2.6.18/add-oz-release-string.patch
@@ -0,0 +1,23 @@
+Index: git/init/version.c
+===================================================================
+--- git.orig/init/version.c 2006-07-04 21:49:14.000000000 +0100
++++ git/init/version.c 2006-07-05 10:02:57.000000000 +0100
+@@ -30,5 +30,5 @@
+ EXPORT_SYMBOL(system_utsname);
+
+ const char linux_banner[] =
+- "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
++ "Linux version " UTS_RELEASE OPENZAURUS_RELEASE " (" LINUX_COMPILE_BY "@"
+ LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
+Index: git/Makefile
+===================================================================
+--- git.orig/Makefile 2006-07-04 21:48:58.000000000 +0100
++++ git/Makefile 2006-07-05 10:05:03.000000000 +0100
+@@ -859,6 +859,7 @@
+ define filechk_version.h
+ (echo \#define LINUX_VERSION_CODE $(shell \
+ expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL)); \
++ echo \#define OPENZAURUS_RELEASE \"$(OPENZAURUS_RELEASE)\"; \
+ echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
+ endef
+