diff options
author | Greg Thelen <gthelen@google.com> | 2010-05-05 13:41:44 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-05-06 10:32:20 -0400 |
commit | fb994ecc2b1c214951366c2ba5d8b121f0010d1f (patch) | |
tree | 570c43e196a73ffa0fe806f17ae6d4c8c315d413 /Makefile | |
parent | 06f9a55cf72b6aa19b4206a05d6f9af6fa9648ea (diff) |
kbuild: Fix checking of scm-identifier variable
I'm looking Makefile in the -mm branch (dated 2010-04-28-16-53) and
seeing what looks like a bug in the checking of scm-identifier. The
"ifneq ($scm-identifier)" seems to always execute "ifeq
($(LOCALVERSION,)) ...". This patch fixes the checking of
scm-identifier.
Signed-off-by: Greg Thelen <gthelen@google.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -943,7 +943,7 @@ endif | |||
943 | ifdef CONFIG_LOCALVERSION_AUTO | 943 | ifdef CONFIG_LOCALVERSION_AUTO |
944 | localver-extra = $(scm-identifier) | 944 | localver-extra = $(scm-identifier) |
945 | else | 945 | else |
946 | ifneq ($scm-identifier,) | 946 | ifneq ($(scm-identifier),) |
947 | ifeq ($(LOCALVERSION),) | 947 | ifeq ($(LOCALVERSION),) |
948 | localver-extra = + | 948 | localver-extra = + |
949 | endif | 949 | endif |