summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.19/add-oz-release-string.patch
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-12-06 05:15:54 +0000
committerRod Whitby <rod@whitby.id.au>2006-12-06 05:15:54 +0000
commit52da0bdfcaf5c8d01ef59f49eb31d85bfb072cb2 (patch)
treedd1a8b097328710b63d7eee22ee0a87691c023ce /packages/linux/linux-rp-2.6.19/add-oz-release-string.patch
parent87212b9bc9603e818c2fa262ca8113c462f8435b (diff)
parente6e55cb2f8f61adff5027c8a025f9c3fbf6f99a0 (diff)
merge of 48b8740d774dc9eeaa0884be5c83aaf5f3201187
and 660478592ecf7024f18439b76307db524c1bc948
Diffstat (limited to 'packages/linux/linux-rp-2.6.19/add-oz-release-string.patch')
-rw-r--r--packages/linux/linux-rp-2.6.19/add-oz-release-string.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/linux/linux-rp-2.6.19/add-oz-release-string.patch b/packages/linux/linux-rp-2.6.19/add-oz-release-string.patch
new file mode 100644
index 0000000000..a80a1d5528
--- /dev/null
+++ b/packages/linux/linux-rp-2.6.19/add-oz-release-string.patch
@@ -0,0 +1,28 @@
+---
+ Makefile | 1 +
+ init/version.c | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+Index: git/init/version.c
+===================================================================
+--- git.orig/init/version.c 2006-10-31 16:09:47.000000000 +0000
++++ git/init/version.c 2006-10-31 16:24:54.000000000 +0000
+@@ -35,5 +35,5 @@ struct uts_namespace init_uts_ns = {
+ EXPORT_SYMBOL_GPL(init_uts_ns);
+
+ 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-10-31 16:08:28.000000000 +0000
++++ git/Makefile 2006-10-31 16:27:02.000000000 +0000
+@@ -905,6 +905,7 @@ endef
+ 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
+