image.mk: remove device_ from manifest filename
authorPaul Spooren <mail@aparcar.org>
Mon, 12 Aug 2019 09:08:33 +0000 (23:08 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 13 Aug 2019 08:40:36 +0000 (10:40 +0200)
commitdfe99645dbdd4460f394beaa3a05091cd40b5942
tree29949c5d3431bdd1e6579ac708692e900a000b89
parent454021581f630d5d04afeb8ff6581c1bda295c87
image.mk: remove device_ from manifest filename

The manifest file is based on IMG_PREFIX and PROFILE_SANITIZED, whereas
the latter takes a string like DEVICE_8dev_carambola2 and sanitizes it.
This behaviour results in a useless "device_" profile-prefix in the
device manifest filename. Now uses *subst* to remove that.

Therefore this patch results more consistent device file names:

openwrt-ath79-generic-8dev_carambola2-initramfs-kernel.bin
openwrt-ath79-generic-8dev-carambola2.manifest
openwrt-ath79-generic-8dev_carambola2-squashfs-sysupgrade.bin

instead of a single file being called

openwrt-ath79-generic-device_8dev-carambola2.manifest

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image.mk