From 781c091ea5d8e373d247dbe6c667360c8a0f7345 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 31 Jul 2010 11:42:17 +0000 Subject: [PATCH] fix jffs2 64k and 128k images overwrite each other When trying to build images with jffs2 filesystem for ramips platform there is only one jffs2 image produced instead of two (64k and 128k). Signed-off-by: Roman Yeryomin SVN-Revision: 22435 --- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index d52c41f0b848..1addcbf22f13 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk define imgname -$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1))) +$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1) endef VMLINUX:=$(IMG_PREFIX)-vmlinux -- 2.30.2