summaryrefslogtreecommitdiffstats
path: root/target/image/brcm/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-01 13:24:20 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-01 13:24:20 +0000
commit42af40f92a6e158b0ec2ae9681a0a8a5c9ab5b3e (patch)
tree8fc4593979ae98a5424dbfc647c8d91eaed00481 /target/image/brcm/Makefile
parentf92f65d15c3faf3c728a1b7e1aa5dc6956f545e1 (diff)
Add USR5461 image generation and tool (#817), thanks to Dick Streefland !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5373 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/image/brcm/Makefile')
-rw-r--r--target/image/brcm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/image/brcm/Makefile b/target/image/brcm/Makefile
index 2dc599dae..6aad5581e 100644
--- a/target/image/brcm/Makefile
+++ b/target/image/brcm/Makefile
@@ -37,6 +37,10 @@ define Image/Build/Motorola
$(STAGING_DIR)/bin/motorola-bin -$(3) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx $(BIN_DIR)/openwrt-$(2)-$(4).bin
endef
+define Image/Build/USR
+ $(STAGING_DIR)/bin/trx2usr $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx $(BIN_DIR)/openwrt-$(2)-$(3).bin
+endef
+
define trxalign/jffs2-128k
-a 0x20000
endef
@@ -64,6 +68,7 @@ ifeq ($(KERNEL),2.6)
endif
endif
$(call Image/Build/Motorola,$(1),wr850g,1,$(1))
+ $(call Image/Build/USR,$(1),usr5461,$(1))
endef
$(eval $(call BuildImage))