X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/0f31d464c4ead63cad13b596052a5f5b55bec9f7..3462ef2525e7e3a26bf3784abe698d58ea446b85:/target/linux/amcc-2.6/image/Makefile diff --git a/target/linux/amcc-2.6/image/Makefile b/target/linux/amcc-2.6/image/Makefile index bab2e647e..bd391f02f 100644 --- a/target/linux/amcc-2.6/image/Makefile +++ b/target/linux/amcc-2.6/image/Makefile @@ -19,6 +19,13 @@ define Image/Build $(call Image/Build/$(1),$(1)) endef +define Image/Build/jffs2-256k + ( \ + dd if=$(LINUX_DIR)/arch/ppc/boot/images/uImage bs=4096k conv=sync; \ + dd if=$(KDIR)/root.$(1) bs=256k conv=sync; \ + ) > $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-jffs2.img +endef + define Image/Build/squashfs $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) ( \