From 4ecae78c1605e48d35f130dbd62b7b3dcb9a0540 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 14 Aug 2015 13:05:14 +0000 Subject: 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 SVN-Revision: 46596 --- target/linux/bcm53xx/image/Makefile | 6 ------ target/linux/brcm47xx/image/Makefile | 9 --------- target/linux/brcm63xx/image/Makefile | 6 ------ 3 files changed, 21 deletions(-) (limited to 'target/linux') diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index fdb2c05..7aa9fc2 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -60,12 +60,6 @@ define Build/asus-trx 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 - DEVICE_VARS += DT PRODUCTID NETGEAR_BOARD_ID NETGEAR_REGION define Device/Default diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index b2516a9..7405d0f 100644 --- a/target/linux/brcm47xx/image/Makefile +++ b/target/linux/brcm47xx/image/Makefile @@ -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 ################################################# diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 235b60c..c5c982f 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -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 $@ -- cgit v1.1