build: move mktplinkfw2 related commands to image-commands.mk
authorPiotr Dymacz <pepe2k@gmail.com>
Fri, 23 Jun 2017 21:07:10 +0000 (23:07 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 29 Jun 2017 08:37:36 +0000 (10:37 +0200)
commit5b7f59225118a3553af5e9d485e2445f28444fb9
tree9b7dddb8a8120b07e8e8db9152d923279beb0a97
parent7d6c63d875421fc1f66833ba0e690914ea28f1a3
build: move mktplinkfw2 related commands to image-commands.mk

There are already two targets (lantiq, ramips) which use mktplinkfw2
tool for creating images. This de-duplicates code, introduces two new
build commands: tplink-v2-header, tplink-v2-image and makes use of
them in place of old, (sub)target specific ones.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
include/image-commands.mk
target/linux/lantiq/image/tp-link.mk
target/linux/ramips/image/mt7620.mk