image.mk: replace all Build/netgear-chk with a generic implementation

Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46596
This commit is contained in:
Jonas Gorski
2015-08-14 13:05:14 +00:00
parent 79b733264b
commit 4ecae78c16
4 changed files with 9 additions and 21 deletions

View File

@@ -126,15 +126,6 @@ define Build/linksys-bin
mv $@.new $@
endef
define Build/netgear-chk
$(STAGING_DIR_HOST)/bin/mkchkimg \
-o $@.new \
-k $@ \
-b $(NETGEAR_BOARD_ID) \
-r $(NETGEAR_REGION)
mv $@.new $@
endef
#################################################
# Devices
#################################################