summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.18/add-oz-release-string.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-29 12:18:05 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-29 12:18:05 +0000
commitfe3c35c38eb7676ba7db56c29b64fec5510af2db (patch)
tree7d25f231af1adf6fc31d028f4d4323d8f86bb459 /packages/linux/linux-rp-2.6.18/add-oz-release-string.patch
parent7ef9f09d281e0529f5ae2aa21cd1ba2494b2527e (diff)
linux-openzaurus: Rename to linux-rp
Diffstat (limited to 'packages/linux/linux-rp-2.6.18/add-oz-release-string.patch')
-rw-r--r--packages/linux/linux-rp-2.6.18/add-oz-release-string.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/linux/linux-rp-2.6.18/add-oz-release-string.patch b/packages/linux/linux-rp-2.6.18/add-oz-release-string.patch
new file mode 100644
index 0000000000..44b33c2e56
--- /dev/null
+++ b/packages/linux/linux-rp-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
+