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

@@ -136,12 +136,6 @@ define Build/cfe-spw303v-bin
$(CFE_EXTRAS)
endef
define Build/netgear-chk
$(STAGING_DIR_HOST)/bin/mkchkimg -o $@.netgear -k $@ \
-b $(NETGEAR_BOARD_ID) -r $(NETGEAR_REGION)
mv $@.netgear $@
endef
define Build/spw303v-bin
$(STAGING_DIR_HOST)/bin/spw303v -i $@ -o $@.spw303v
mv $@.spw303v $@