aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-13 00:54:43 -0400
committerIngo Molnar <mingo@elte.hu>2009-03-13 00:54:43 -0400
commit17d85bc7564571a1cce23ffdb2d2a33301876925 (patch)
tree815bfc3a02e94303c7c834770bf2a17012c10bf8 /Makefile
parentd95c3578120e5bc4784069439f00ccb1b5f87717 (diff)
parent041b62374c7fedc11a8a1eeda2868612d3d1436c (diff)
Merge commit 'v2.6.29-rc8' into cpus4096
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c40d83aedebe..46c04c546ee2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 2 1VERSION = 2
2PATCHLEVEL = 6 2PATCHLEVEL = 6
3SUBLEVEL = 29 3SUBLEVEL = 29
4EXTRAVERSION = -rc7 4EXTRAVERSION = -rc8
5NAME = Erotic Pickled Herring 5NAME = Erotic Pickled Herring
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
@@ -905,12 +905,18 @@ localver = $(subst $(space),, $(string) \
905# and if the SCM is know a tag from the SCM is appended. 905# and if the SCM is know a tag from the SCM is appended.
906# The appended tag is determined by the SCM used. 906# The appended tag is determined by the SCM used.
907# 907#
908# Currently, only git is supported. 908# .scmversion is used when generating rpm packages so we do not loose
909# Other SCMs can edit scripts/setlocalversion and add the appropriate 909# the version information from the SCM when we do the build of the kernel
910# checks as needed. 910# from the copied source
911ifdef CONFIG_LOCALVERSION_AUTO 911ifdef CONFIG_LOCALVERSION_AUTO
912 _localver-auto = $(shell $(CONFIG_SHELL) \ 912
913 $(srctree)/scripts/setlocalversion $(srctree)) 913ifeq ($(wildcard .scmversion),)
914 _localver-auto = $(shell $(CONFIG_SHELL) \
915 $(srctree)/scripts/setlocalversion $(srctree))
916else
917 _localver-auto = $(shell cat .scmversion 2> /dev/null)
918endif
919
914 localver-auto = $(LOCALVERSION)$(_localver-auto) 920 localver-auto = $(LOCALVERSION)$(_localver-auto)
915endif 921endif
916 922
@@ -1538,7 +1544,7 @@ quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
1538 cmd_depmod = \ 1544 cmd_depmod = \
1539 if [ -r System.map -a -x $(DEPMOD) ]; then \ 1545 if [ -r System.map -a -x $(DEPMOD) ]; then \
1540 $(DEPMOD) -ae -F System.map \ 1546 $(DEPMOD) -ae -F System.map \
1541 $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ 1547 $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) ) \
1542 $(KERNELRELEASE); \ 1548 $(KERNELRELEASE); \
1543 fi 1549 fi
1544 1550