summaryrefslogtreecommitdiff
path: root/packages/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/add-oz-release-string.patch
blob: 1674ed18ff30505d766425c257416acb1d11e3f7 (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

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- linux_n1/Makefile~add-oz-release-string
+++ linux_n1/Makefile
@@ -394,6 +394,7 @@
 	@echo \#define UTS_RELEASE \"$(KERNELRELEASE)\" > .ver
 	@echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)` >> .ver
 	@echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))' >>.ver
+	@echo \#define OPENZAURUS_RELEASE \"$(OPENZAURUS_RELEASE)\" >> .ver
 	@mv -f .ver $@
 
 comma	:= ,
--- linux_n1/init/version.c~add-oz-release-string
+++ linux_n1/init/version.c
@@ -22,5 +22,5 @@
 };
 
 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";