summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.19+git/add-oz-release-string.patch
blob: a80a1d55288879a072e63479df4bf9e1845b8768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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