summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-31 11:42:17 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-31 11:42:17 +0000
commitcc84d9a7e14250d8a736b63838e9e0c7f497e03b (patch)
treeda2e1fa72cbd86c62b0733cada9e6cb3b6a6f723 /target/linux/ramips/image
parent503bfaa4f13abf6e5c2e5a95b8a228cae49ac870 (diff)
[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
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/Makefile2
1 files changed, 1 insertions, 1 deletions
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