From: Felix Fietkau Date: Sat, 21 May 2016 11:57:26 +0000 (+0200) Subject: build: allow whitespace characters in VERSION_DIST X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80bb5adf98134858f6c837f4943c0838dd2cf52b;p=openwrt%2Fstaging%2Flynxis%2Fomap.git build: allow whitespace characters in VERSION_DIST Signed-off-by: Felix Fietkau --- diff --git a/include/image.mk b/include/image.mk index d0bf8fc3ea..ac8cc2e333 100644 --- a/include/image.mk +++ b/include/image.mk @@ -18,7 +18,7 @@ KDIR=$(KERNEL_BUILD_DIR) KDIR_TMP=$(KDIR)/tmp DTS_DIR:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts -sanitize = $(call tolower,$(subst _,-,$(1))) +sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1)))) DIST_SANITIZED:=$(call sanitize,$(VERSION_DIST)) EXTRA_NAME_SANITIZED=$(call sanitize,$(EXTRA_IMAGE_NAME))