diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2010-08-06 20:21:32 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2010-08-06 20:21:32 +0000 |
commit | c9d85717342e29280df036939b010dd6615ef190 (patch) | |
tree | b722f8ed0f2ef953048c1c502d02cb3449f5f3e7 /target | |
parent | d7a87e6551a6bb78d3f892e187f9f90e4287d1c4 (diff) | |
download | upstream-c9d85717342e29280df036939b010dd6615ef190.tar.gz upstream-c9d85717342e29280df036939b010dd6615ef190.tar.bz2 upstream-c9d85717342e29280df036939b010dd6615ef190.zip |
brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/
This closes #7702.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm47xx/image/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/image/Makefile b/target/linux/brcm47xx/image/Makefile index 69a31e7554..daee392da9 100644 --- a/target/linux/brcm47xx/image/Makefile +++ b/target/linux/brcm47xx/image/Makefile @@ -98,6 +98,10 @@ define Image/Build/Initramfs $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-initramfs.trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma endef +define Image/Build/Chk + $(STAGING_DIR_HOST)/bin/mkchkimg -o $(BIN_DIR)/openwrt-$(2)-$(5).chk -k $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx -b $(3) -r $(4) +endef + define Image/Build $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/$(IMG_PREFIX)-$(1).trx \ -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma \ @@ -105,6 +109,8 @@ define Image/Build $(call Image/Build/$(1),$(1)) $(call Image/Build/Motorola,$(1),wr850g,1,$(1)) $(call Image/Build/USR,$(1),usr5461,$(1)) + $(call Image/Build/Chk,$(1),wnr834b_v2,U12H081T00_NETGEAR,2,$(patsubst jffs2-%,jffs2,$(1))) + $(call Image/Build/Chk,$(1),wgr614_v8,U12H072T00_NETGEAR,2,$(patsubst jffs2-%,jffs2,$(1))) endef $(eval $(call BuildImage)) |