summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openzaurus-2.6.17+git/add-oz-release-string.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-07-05 09:22:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-05 09:22:26 +0000
commit5c2a649a5a98bcda32200762b67cf255ece7a18c (patch)
tree9cc161b3e8b55db0b34ac8c9b0de03cf9d25f403 /packages/linux/linux-openzaurus-2.6.17+git/add-oz-release-string.patch
parentaaaa8c942eddaeb70b82b73301d7ac9daaffd002 (diff)
linux-oz: 2.6.16+git -> 2.6.17+git. Refresh several patches against recent changes upstream
Diffstat (limited to 'packages/linux/linux-openzaurus-2.6.17+git/add-oz-release-string.patch')
-rw-r--r--packages/linux/linux-openzaurus-2.6.17+git/add-oz-release-string.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus-2.6.17+git/add-oz-release-string.patch b/packages/linux/linux-openzaurus-2.6.17+git/add-oz-release-string.patch
new file mode 100644
index 0000000000..44b33c2e56
--- /dev/null
+++ b/packages/linux/linux-openzaurus-2.6.17+git/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
+