Commit fb994ecc2b1c214951366c2ba5d8b121f0010d1f

Authored by Greg Thelen
Committed by Michal Marek
1 parent 06f9a55cf7

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -943,7 +943,7 @@
943 943 ifdef CONFIG_LOCALVERSION_AUTO
944 944 localver-extra = $(scm-identifier)
945 945 else
946   - ifneq ($scm-identifier,)
  946 + ifneq ($(scm-identifier),)
947 947 ifeq ($(LOCALVERSION),)
948 948 localver-extra = +
949 949 endif