Skip to content

Commit fb994ec

Browse files
gthelenmichal42
authored andcommitted
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>
1 parent 06f9a55 commit fb994ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ endif
943943
ifdef CONFIG_LOCALVERSION_AUTO
944944
localver-extra = $(scm-identifier)
945945
else
946-
ifneq ($scm-identifier,)
946+
ifneq ($(scm-identifier),)
947947
ifeq ($(LOCALVERSION),)
948948
localver-extra = +
949949
endif

0 commit comments

Comments
 (0)