summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-03-21 01:14:45 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-21 01:14:45 +0000
commit75fb406a221a088aa799b7ce4915bf4369dc0505 (patch)
tree22de51a5fd76ff8ba534e6878e6c5692a74a7f42 /packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch
parent748de28022afb7e6d35ab98d53660203406ff111 (diff)
linux-oz-2.6: Add 2.6.16 kernel (tested on c7x0 and spitz)
Diffstat (limited to 'packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch')
-rw-r--r--packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch b/packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch
new file mode 100644
index 0000000000..22a6fd3943
--- /dev/null
+++ b/packages/linux/linux-openzaurus-2.6.16/add-oz-release-string.patch
@@ -0,0 +1,24 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-2.6.11-rc1/init/version.c~add-oz-release-string
++++ linux-2.6.11-rc1/init/version.c
+@@ -29,5 +29,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";
+--- linux-2.6.11-rc1/Makefile~add-oz-release-string
++++ linux-2.6.11-rc1/Makefile
+@@ -827,6 +827,7 @@
+ exit 1; \
+ fi; \
+ (echo \#define UTS_RELEASE \"$(KERNELRELEASE)\"; \
++ echo \#define OPENZAURUS_RELEASE \"$(OPENZAURUS_RELEASE)\"; \
+ echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)`; \
+ echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; \
+ )