summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-rp-2.6.20/add-oz-release-string.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-02-05 15:08:17 +0000
committerRichard Purdie <richard@openedhand.com>2007-02-05 15:08:17 +0000
commit6a402ce57849a03bc1cf219666a3eccec64ce39e (patch)
treed82cf6ead05367f4fee0f98141bfebaf0aeadd82 /meta/packages/linux/linux-rp-2.6.20/add-oz-release-string.patch
parent671facbfc2c011b0de80708a38b0237631c80345 (diff)
downloadopenembedded-core-6a402ce57849a03bc1cf219666a3eccec64ce39e.tar.gz
openembedded-core-6a402ce57849a03bc1cf219666a3eccec64ce39e.tar.bz2
openembedded-core-6a402ce57849a03bc1cf219666a3eccec64ce39e.tar.xz
openembedded-core-6a402ce57849a03bc1cf219666a3eccec64ce39e.zip
linux-2.6.19+2.6.20-rc4 -> 2.6.20
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1261 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.20/add-oz-release-string.patch')
-rw-r--r--meta/packages/linux/linux-rp-2.6.20/add-oz-release-string.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.20/add-oz-release-string.patch b/meta/packages/linux/linux-rp-2.6.20/add-oz-release-string.patch
new file mode 100644
index 000000000..a80a1d552
--- /dev/null
+++ b/meta/packages/linux/linux-rp-2.6.20/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
+