Browse Source

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 <[email protected]>

SVN-Revision: 22435
Florian Fainelli 15 years ago
parent
commit
781c091ea5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/ramips/image/Makefile

+ 1 - 1
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