From: Florian Fainelli Date: Sat, 31 Jul 2010 11:42:17 +0000 (+0000) Subject: fix jffs2 64k and 128k images overwrite each other X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=781c091ea5d8e373d247dbe6c667360c8a0f7345;p=openwrt%2Fstaging%2Fthess.git 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 --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index d52c41f0b8..1addcbf22f 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