build: add mktplinkfw2 hardcoded values to makefile
authorThibaut VARÈNE <hacks@slashdirt.org>
Tue, 3 Oct 2017 10:46:09 +0000 (12:46 +0200)
committerMathias Kresin <dev@kresin.me>
Fri, 6 Oct 2017 06:28:41 +0000 (08:28 +0200)
commit254061ee97b9511f0d8981e3ea43406119e35ce4
tree9b3755718b5269f2874362cde4ac0488f78e1e9b
parent90805b16b6d17dff861d456edf829858386ec559
build: add mktplinkfw2 hardcoded values to makefile

This patch adds all the board-specific values currently hardcoded
in mktplinkfw2.c back to the respective device declarations in the
makefiles.

The rationale is to avoid modifying the source code every time a
new board or board variant is added.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
include/image-commands.mk
target/linux/lantiq/image/tp-link.mk
target/linux/ramips/image/mt7620.mk
target/linux/ramips/image/mt76x8.mk