From: John Crispin <john@openwrt.org>
Date: Sun, 26 Oct 2014 17:18:45 +0000 (+0000)
Subject: ramips: fix filenames in PorayDualSize factory images
X-Git-Tag: reboot~5510
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d1a1ad3e66e7bb6b3c26b9723269f4ba256f632a;p=openwrt%2Fstaging%2Fpepe2k.git

ramips: fix filenames in PorayDualSize factory images

SVN-Revision: 43073
---

diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index 9a47f86e16..9317779ff4 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -275,12 +275,12 @@ define BuildFirmware/PorayDualSize/squashfs
 	if [ -e "$(call sysupname,$(1),$(2)-4M)" ]; then \
 		mkporayfw -B $(3) -F 4M \
 			-f $(call sysupname,$(1),$(2)-4M) \
-			-o $(call imgname,$(1),$(2))-4M-factory.bin; \
+			-o $(call imgname,$(1),$(2)-4M)-factory.bin; \
 	fi
 	if [ -e "$(call sysupname,$(1),$(2)-8M)" ]; then \
 		mkporayfw -B $(3) -F 8M \
 			-f $(call sysupname,$(1),$(2)-8M) \
-			-o $(call imgname,$(1),$(2))-8M-factory.bin; \
+			-o $(call imgname,$(1),$(2)-8M)-factory.bin; \
 	fi
 endef
 BuildFirmware/PorayDualSize/initramfs=$(call BuildFirmware/DefaultDualSize/initramfs,$(1),$(2),$(3))