From: Greg Thelen Date: Wed, 5 May 2010 17:41:44 +0000 (-0700) Subject: kbuild: Fix checking of scm-identifier variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb994ecc2b1c214951366c2ba5d8b121f0010d1f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: David Rientjes Signed-off-by: Michal Marek --- diff --git a/Makefile b/Makefile index b98943a466c5..ea5f0bee1934 100644 --- a/Makefile +++ b/Makefile @@ -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