image.mk: keep underscores when sanitize PROFILE
authorPaul Spooren <mail@aparcar.org>
Wed, 14 Aug 2019 18:51:36 +0000 (08:51 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 22 Aug 2019 10:57:34 +0000 (12:57 +0200)
commit58aab7379767bb95ff2ccd9eaad76cea83fcc939
tree65c3ec16e8e6c51aaabd47e48ac67915f20f81bb
parentfd666870582f5f220165d6df46b085a6450b6051
image.mk: keep underscores when sanitize PROFILE

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

A fix tried to solve this previously via
dfe99645dbdd4460f394beaa3a05091cd40b5942 however I did not look close
enough:

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: Paul Spooren <mail@aparcar.org>
include/image.mk