Commit 58aab737 authored by Paul Spooren's avatar Paul Spooren Committed by Daniel Golle keep underscores when sanitize PROFILE

Underscores don't harm in filenames, however the sanitize function from replaces them, causing inconsistent filenames.

A fix tried to solve this previously via
dfe99645 however I did not look close

openwrt-ath79-generic-8dev-carambola2.manifest # current
openwrt-ath79-generic_8dev-carambola2.manifest # patched

Eventually the sanitization of PROFILES *could* be removed as more and
more profiles follow the device tree approach of vendor_model, neither
containing upper case letters nor spaces.
Signed-off-by: default avatarPaul Spooren <>
parent fd666870
......@@ -106,7 +106,7 @@ define add_jffs2_mark
echo -ne '\xde\xad\xc0\xde' >> $(1)
PROFILE_SANITIZED := $(call sanitize,$(subst DEVICE_,,$(PROFILE)))
PROFILE_SANITIZED := $(call tolower,$(subst DEVICE_,,$(subst $(space),-,$(PROFILE))))
define split_args
$(foreach data, \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment