提交 fb994ecc 编写于 作者: G Greg Thelen 提交者: Michal Marek

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: NGreg Thelen <gthelen@google.com>
Acked-by: NDavid Rientjes <rientjes@google.com>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 06f9a55c
...@@ -943,7 +943,7 @@ endif ...@@ -943,7 +943,7 @@ endif
ifdef CONFIG_LOCALVERSION_AUTO ifdef CONFIG_LOCALVERSION_AUTO
localver-extra = $(scm-identifier) localver-extra = $(scm-identifier)
else else
ifneq ($scm-identifier,) ifneq ($(scm-identifier),)
ifeq ($(LOCALVERSION),) ifeq ($(LOCALVERSION),)
localver-extra = + localver-extra = +
endif endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册