X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=7e4968fb2134d3b90206dbcd9a08a773c934399c;hb=34cc560e6a72ff414ff7d107426a411b0a093ad3;hp=cdeda68cf2aa9082571366837a504fe80ef6c40e;hpb=5331be090567d9335476f876b2d85427cd7c4426;p=linux-2.6 diff --git a/Makefile b/Makefile index cdeda68cf2..7e4968fb21 100644 --- a/Makefile +++ b/Makefile @@ -789,7 +789,7 @@ $(vmlinux-dirs): prepare scripts pattern = ".*/localversion[^~]*" string = $(shell cat /dev/null \ - `find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort`) + `find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort -u`) localver = $(subst $(space),, $(string) \ $(patsubst "%",%,$(CONFIG_LOCALVERSION)))