diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-21 13:57:26 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-21 13:57:26 +0200 |
commit | 80bb5adf98134858f6c837f4943c0838dd2cf52b (patch) | |
tree | 5f4aac1d5acd4d0d35d49961cd899cb514352b53 /include | |
parent | b570c0c88e8a020d9e21e556cf05cb3a702fff4d (diff) | |
download | upstream-80bb5adf98134858f6c837f4943c0838dd2cf52b.tar.gz upstream-80bb5adf98134858f6c837f4943c0838dd2cf52b.tar.bz2 upstream-80bb5adf98134858f6c837f4943c0838dd2cf52b.zip |
build: allow whitespace characters in VERSION_DIST
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r-- | include/image.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |