+ touch $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2).img
+ touch $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2)-web.img
+ dd if=$(KDIR)/root.$(1) of=$(KDIR)/root.tmp $(call trxalign/$(1)) conv=sync
+ mv $(KDIR)/root.tmp $(KDIR)/root.$(1)
+ $(STAGING_DIR_HOST)/bin/airlink -b 1 -j $(shell bash -c 'echo $$[$(3)]') $(KDIR)/bzImage $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2).img
+ $(STAGING_DIR_HOST)/bin/airlink -e -b 1 -j $(shell bash -c 'echo $$[$(3)]') $(KDIR)/bzImage $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2)-web.img
+endef
+
+define Image/Postprocess/sitecom/squashfs
+ dd if=/dev/zero of=$(KDIR)/tmp2.img count=1 bs=32k #32k config data a start of flash
+ cat $(KDIR)/tmp.img >> $(KDIR)/tmp2.img
+ $(call prepare_generic_squashfs,$(KDIR)/tmp2.img)
+ dd if=$(KDIR)/tmp2.img of=$(KDIR)/tmp.img bs=32k skip=1
+endef
+
+define Image/Build/sitecom
+ $(TOPDIR)/target/linux/rdc/image/mkimg_sitecom.pl $(KDIR)/bzImage > $(KDIR)/tmp.img
+ cat $(KDIR)/root.$(1) >> $(KDIR)/tmp.img
+ $(call Image/Postprocess/sitecom/$(1))
+ cp $(KDIR)/tmp.img $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2).img
+endef
+
+define Image/Build/dir450
+ touch $(BIN_DIR)/openwrt-$(BOARD)-$(1)-$(2).img
+ dd if=$(KDIR)/root.$(1) of=$(KDIR)/root.tmp $(call trxalign/$(1)) conv=sync
+ mv $(KDIR)/root.tmp $(KDIR)/root.$(1)
+ $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/onlyrootfs-$(BOARD)-$(1)-$(2).img
+endef
+
+define Image/Build/g570s
+ $(call Image/Prepare/$(1))