+ -r $(KDIR)/loader-$(2).gz::0x1000 \
+ -x $(call imgname,$(1),$(2)).trx:0x10000 \
+ -x $(JFFS2MARK):0x10000 \
+ $(call imgname,$(1),$(2))-webui.bin
+ $(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d \
+ -r $(KDIR)/loader-$(2).gz::0x1000 \
+ -x $(call imgname,$(1),$(2)).trx:0x10000 \
+ -x $(JFFS2MARK):0x10000 \
+ $(call imgname,$(1),$(2))-xmodem.bin
+ rm -f $(call imgname,$(1),$(2)).trx
+endef
+
+define Image/Build/Osbridge
+ $(call Image/Build/Loader,$(2),gz,0x80500000,0x6D8,y,$(2))
+ $(call Image/Build/TRXEdimax,$(call imgname,$(1),$(2)).trx,$(1))
+ $(STAGING_DIR_HOST)/bin/mkcsysimg -B $(2) -d \
+ -r $(KDIR)/loader-$(2).gz::0x1000 \
+ -x $(call imgname,$(1),$(2)).trx:0x10000 \
+ -x $(JFFS2MARK):0x10000 \
+ $(call imgname,$(1),$(2))-firmware.bin
+ $(STAGING_DIR_HOST)/bin/osbridge-crc \
+ -i $(call imgname,$(1),$(2))-firmware.bin \
+ -o $(call imgname,$(1),$(2))-temp.bin
+ $(STAGING_DIR_HOST)/bin/pc1crypt \
+ -i $(call imgname,$(1),$(2))-temp.bin \
+ -o $(call imgname,$(1),$(2))-webui.bin
+ rm -f $(call imgname,$(1),$(2))-temp.bin
+ rm -f $(call imgname,$(1),$(2)).trx