diff options
author | Greg Thelen <gthelen@google.com> | 2010-05-05 10:41:44 -0700 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-05-06 16:32:20 +0200 |
commit | fb994ecc2b1c214951366c2ba5d8b121f0010d1f (patch) | |
tree | 570c43e196a73ffa0fe806f17ae6d4c8c315d413 /Makefile | |
parent | 06f9a55cf72b6aa19b4206a05d6f9af6fa9648ea (diff) | |
download | linux-stable-fb994ecc2b1c214951366c2ba5d8b121f0010d1f.tar.gz linux-stable-fb994ecc2b1c214951366c2ba5d8b121f0010d1f.tar.bz2 linux-stable-fb994ecc2b1c214951366c2ba5d8b121f0010d1f.zip |
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 ifdef CONFIG_LOCALVERSION_AUTO localver-extra = $(scm-identifier) else - ifneq ($scm-identifier,) + ifneq ($(scm-identifier),) ifeq ($(LOCALVERSION),) localver-extra = + endif |