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

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

Commit Message

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

Patch
diff mbox

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