X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/02cdebbb91a33d8e24da1c94a9d93ac39be168a7..dec7e982a9e41f2ef52cc7807f60620cfd02d437:/target/image/aruba/Makefile?ds=sidebyside diff --git a/target/image/aruba/Makefile b/target/image/aruba/Makefile index 1d2aebfb1..09aa8eabd 100644 --- a/target/image/aruba/Makefile +++ b/target/image/aruba/Makefile @@ -33,8 +33,7 @@ endef define Image/Build/jffs2-64k @dd if=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL).ari of=$(KDIR)/image.tmp bs=655360 conv=sync @cat $(KDIR)/root.$(1) >> $(KDIR)/image.tmp - @dd if=$(KDIR)/image.tmp of=$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(patsubst jffs2-%,jffs2,$(1)).bin bs=3604480 conv=sync - @rm -f $(KDIR)/image.tmp + mv $(KDIR)/image.tmp $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(patsubst jffs2-%,jffs2,$(1)).bin endef define Image/Build