summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openzaurus-2.6.15/add-oz-release-string.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-01-10 02:08:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-10 02:08:37 +0000
commit8bc640253e3402ed705484106527fa8f437e99e8 (patch)
treef75382c0895a47fdb0f257466f9bc628fdfc81bb /packages/linux/linux-openzaurus-2.6.15/add-oz-release-string.patch
parent259fe6ef0f37169d60ef41fec6eb73de7b7b6cc9 (diff)
linux-oz-2.6: Update to 2.6.15. Add gcc4 build fix and a better pxa2xx pcmcia patch. Add a couple of modules to the defconfig.
Diffstat (limited to 'packages/linux/linux-openzaurus-2.6.15/add-oz-release-string.patch')
-rw-r--r--packages/linux/linux-openzaurus-2.6.15/add-oz-release-string.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus-2.6.15/add-oz-release-string.patch b/packages/linux/linux-openzaurus-2.6.15/add-oz-release-string.patch
new file mode 100644
index 0000000000..22a6fd3943
--- /dev/null
+++ b/packages/linux/linux-openzaurus-2.6.15/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))'; \
+ )