ath79: redistribute UBNT variables in Ubiquiti image Makefile
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 6 Dec 2019 12:56:51 +0000 (13:56 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 12 Dec 2019 12:18:01 +0000 (13:18 +0100)
commit8e91b18ab7567502b3c9d9d2a3755a98c982918b
treec551ec3bc332ab490040aa4ec1a44c5b1a084a44
parent68ef534989d61fc82dcb8f85840318f67a7158fd
ath79: redistribute UBNT variables in Ubiquiti image Makefile

The variables UBNT_BOARD and UBNT_VERSION are defined in the parent
Device/ubnt definition and then overwritten for most of the derived
platform definitions (e.g. Device/ubnt-wa).

Since this mixed use of inheritance and overwriting can be misleading,
this moves the variables to the platform-based definitions.

While at it, reorder the definitions to have order consistent, too.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/image/generic-ubnt.mk