From 80bb5adf98134858f6c837f4943c0838dd2cf52b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 21 May 2016 13:57:26 +0200 Subject: [PATCH] build: allow whitespace characters in VERSION_DIST Signed-off-by: Felix Fietkau --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.mk b/include/image.mk index d0bf8fc3eac..ac8cc2e333c 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)) -- 2.30.2