From: Felix Fietkau Date: Tue, 19 Jul 2016 15:26:31 +0000 (+0200) Subject: cns3xxx: remove obsolete jffs2 image build code X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=cd243b1090952b1bb12d94e07825e450ca3d5118;p=openwrt%2Fstaging%2Faparcar.git cns3xxx: remove obsolete jffs2 image build code Signed-off-by: Felix Fietkau --- diff --git a/target/linux/cns3xxx/image/Makefile b/target/linux/cns3xxx/image/Makefile index 13e5efd964..8f29c6c6e7 100644 --- a/target/linux/cns3xxx/image/Makefile +++ b/target/linux/cns3xxx/image/Makefile @@ -31,22 +31,6 @@ define Image/Build cp $(KDIR)/uImage $(BIN_DIR)/$(IMG_PREFIX)-uImage endef -define Image/Build/jffs2-64k - dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img bs=64k conv=sync - ( \ - dd if=$(KDIR)/uImage bs=2048k conv=sync; \ - dd if=$(KDIR)/root.$(1) bs=64k conv=sync; \ - ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin -endef - -define Image/Build/jffs2-128k - dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img bs=128k conv=sync - ( \ - dd if=$(KDIR)/uImage bs=2048k conv=sync; \ - dd if=$(KDIR)/root.$(1) bs=128k conv=sync; \ - ) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin -endef - define Image/Build/squashfs $(call prepare_generic_squashfs,$(KDIR)/root.$(1)) dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img bs=128k conv=sync