From: florian Date: Sat, 31 Jul 2010 11:42:17 +0000 (+0000) Subject: [ramips] fix jffs2 64k and 128k images overwrite each other X-Git-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/cc84d9a7e14250d8a736b63838e9e0c7f497e03b [ramips] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22435 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index d52c41f0b..1addcbf22 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