ath79: split DEVICE_TITLE in multiple variables
authorPaul Spooren <mail@aparcar.org>
Sun, 16 Jun 2019 19:34:46 +0000 (21:34 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 4 Jul 2019 13:50:17 +0000 (15:50 +0200)
commit8c3dbaf8b49233e275b2dce4e30dc0a2bf8c86c5
treeb58ad085eae892fa35cb6e7a8f0b09373b5c4d3e
parentcb689f2723b40c96426ac69f1478530ff1d48368
ath79: split DEVICE_TITLE in multiple variables

This allows the definition of DEVICE_VENDOR, DEVICE_MODEL and
DEVICE_VARIANT. All three are merged together to look the same as the
current DEVICE_TITLE. Also, if DEVICE_TITLE is set it's directly used as
a *fallback* for devices which weren't upgraded yet.

This is based on the work of @sudhanshu16.

The motivation is to create JSON files based on provided metadata,
needing clear differentiation between vendor, model and revision.

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image.mk
target/linux/ath79/image/common-tp-link.mk
target/linux/ath79/image/generic-tp-link.mk
target/linux/ath79/image/generic-ubnt.mk
target/linux/ath79/image/generic.mk
target/linux/ath79/image/nand.mk
target/linux/ath79/image/tiny-netgear.mk
target/linux/ath79/image/tiny-tp-link.mk
target/linux/ath79/image/tiny.mk