summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux/linux-rp-2.6.19+2.6.20-rc4/add-oz-release-string.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.19+2.6.20-rc4/add-oz-release-string.patch')
-rw-r--r--meta/packages/linux/linux-rp-2.6.19+2.6.20-rc4/add-oz-release-string.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.19+2.6.20-rc4/add-oz-release-string.patch b/meta/packages/linux/linux-rp-2.6.19+2.6.20-rc4/add-oz-release-string.patch
new file mode 100644
index 0000000000..a80a1d5528
--- /dev/null
+++ b/meta/packages/linux/linux-rp-2.6.19+2.6.20-rc4/add-oz-release-string.patch
@@ -0,0 +1,28 @@
1---
2 Makefile | 1 +
3 init/version.c | 2 +-
4 2 files changed, 2 insertions(+), 1 deletion(-)
5
6Index: git/init/version.c
7===================================================================
8--- git.orig/init/version.c 2006-10-31 16:09:47.000000000 +0000
9+++ git/init/version.c 2006-10-31 16:24:54.000000000 +0000
10@@ -35,5 +35,5 @@ struct uts_namespace init_uts_ns = {
11 EXPORT_SYMBOL_GPL(init_uts_ns);
12
13 const char linux_banner[] =
14- "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
15+ "Linux version " UTS_RELEASE OPENZAURUS_RELEASE " (" LINUX_COMPILE_BY "@"
16 LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";
17Index: git/Makefile
18===================================================================
19--- git.orig/Makefile 2006-10-31 16:08:28.000000000 +0000
20+++ git/Makefile 2006-10-31 16:27:02.000000000 +0000
21@@ -905,6 +905,7 @@ endef
22 define filechk_version.h
23 (echo \#define LINUX_VERSION_CODE $(shell \
24 expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL)); \
25+ echo \#define OPENZAURUS_RELEASE \"$(OPENZAURUS_RELEASE)\"; \
26 echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
27 endef
28