diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-13 00:54:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-13 00:54:43 -0400 |
commit | 17d85bc7564571a1cce23ffdb2d2a33301876925 (patch) | |
tree | 815bfc3a02e94303c7c834770bf2a17012c10bf8 /Makefile | |
parent | d95c3578120e5bc4784069439f00ccb1b5f87717 (diff) | |
parent | 041b62374c7fedc11a8a1eeda2868612d3d1436c (diff) |
Merge commit 'v2.6.29-rc8' into cpus4096
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 2 | 1 | VERSION = 2 |
2 | PATCHLEVEL = 6 | 2 | PATCHLEVEL = 6 |
3 | SUBLEVEL = 29 | 3 | SUBLEVEL = 29 |
4 | EXTRAVERSION = -rc7 | 4 | EXTRAVERSION = -rc8 |
5 | NAME = Erotic Pickled Herring | 5 | NAME = 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 |
911 | ifdef CONFIG_LOCALVERSION_AUTO | 911 | ifdef CONFIG_LOCALVERSION_AUTO |
912 | _localver-auto = $(shell $(CONFIG_SHELL) \ | 912 | |
913 | $(srctree)/scripts/setlocalversion $(srctree)) | 913 | ifeq ($(wildcard .scmversion),) |
914 | _localver-auto = $(shell $(CONFIG_SHELL) \ | ||
915 | $(srctree)/scripts/setlocalversion $(srctree)) | ||
916 | else | ||
917 | _localver-auto = $(shell cat .scmversion 2> /dev/null) | ||
918 | endif | ||
919 | |||
914 | localver-auto = $(LOCALVERSION)$(_localver-auto) | 920 | localver-auto = $(LOCALVERSION)$(_localver-auto) |
915 | endif | 921 | endif |
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 | ||