diff --git a/Makefile b/Makefile index 993d1f3359251a23576ffb4ed903d1ccd7c0b7ef..324130c682dd947cf3d5f7be11b2e785a5fdf9a0 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