diff mbox

[1/1] kbuild: fix LOCALVERSION handling to match description

Message ID 1276508470-21731-1-git-send-email-apw@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andy Whitcroft June 14, 2010, 9:41 a.m. UTC
None
diff mbox

Patch

diff --git a/Makefile b/Makefile
index d49d96c..662e820 100644
--- a/Makefile
+++ b/Makefile
@@ -944,7 +944,7 @@  ifdef CONFIG_LOCALVERSION_AUTO
 	localver-extra = $(scm-identifier)
 else
 	ifneq ($(scm-identifier),)
-		ifeq ($(LOCALVERSION),)
+		ifeq ("$(origin LOCALVERSION)", "undefined")
 			localver-extra = +
 		endif
 	endif