build: allow whitespace characters in VERSION_DIST
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b570c0c88e
commit
80bb5adf98
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user