projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b570c0c
)
build: allow whitespace characters in VERSION_DIST
author
Felix Fietkau
<nbd@nbd.name>
Sat, 21 May 2016 11:57:26 +0000
(13:57 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Sat, 21 May 2016 11:57:26 +0000
(13:57 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/image.mk
patch
|
blob
|
history
diff --git
a/include/image.mk
b/include/image.mk
index d0bf8fc3eacf0a3660e13a1b3f5597387b98ba15..ac8cc2e333cc2575bb7b3c21ee2bcb3b638db09c 100644
(file)
--- 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))