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 <roman@advem.lv>

SVN-Revision: 22435
This commit is contained in:
Florian Fainelli 2010-07-31 11:42:17 +00:00
parent 3aca383c72
commit 781c091ea5

View File

@ -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