patch-2.2.0-pre1 linux/Makefile
Next file: linux/arch/alpha/defconfig
Previous file: linux/MAINTAINERS
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Mon Dec 28 14:09:00 1998
- Orig file:
v2.1.132/linux/Makefile
- Orig date:
Tue Dec 22 14:16:53 1998
diff -u --recursive --new-file v2.1.132/linux/Makefile linux/Makefile
@@ -1,6 +1,7 @@
VERSION = 2
-PATCHLEVEL = 1
-SUBLEVEL = 132
+PATCHLEVEL = 2
+SUBLEVEL = 0
+EXTRAVERSION =-pre1
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
@@ -58,6 +59,8 @@
ROOT_DEV = CURRENT
+KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
+
#
# INSTALL_PATH specifies where to place the updated kernel and system map
# images. Uncomment if you want to place them anywhere other than root.
@@ -278,7 +281,7 @@
@mv -f .ver $@
include/linux/version.h: ./Makefile
- @echo \#define UTS_RELEASE \"$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)\" > .ver
+ @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
@mv -f .ver $@
@@ -305,7 +308,7 @@
modules_install:
@( \
- MODLIB=$(INSTALL_MOD_PATH)/lib/modules/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL); \
+ MODLIB=$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE); \
cd modules; \
MODULES=""; \
inst_mod() { These="`cat $$1`"; MODULES="$$MODULES $$These"; \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov