aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cdeda68cf2aa..7e4968fb2134 100644
--- a/Makefile
+++ b/Makefile
@@ -789,7 +789,7 @@ $(vmlinux-dirs): prepare scripts
789 789
790pattern = ".*/localversion[^~]*" 790pattern = ".*/localversion[^~]*"
791string = $(shell cat /dev/null \ 791string = $(shell cat /dev/null \
792 `find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort`) 792 `find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort -u`)
793 793
794localver = $(subst $(space),, $(string) \ 794localver = $(subst $(space),, $(string) \
795 $(patsubst "%",%,$(CONFIG_LOCALVERSION))) 795 $(patsubst "%",%,$(CONFIG_LOCALVERSION)))