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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22435 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli 2010-07-31 11:42:17 +00:00
parent 9f9c679032
commit 8eb26298e5

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