SysupgradeNAND: include rootfs-type in image name
[openwrt-github/.git] / target / linux / ar71xx / image / Makefile
index d0ee3637d201882a0bba0b5c359826d915e3eb59..3c68fa37fcb8eaf4e85c897b006972a834f52242 100644 (file)
@@ -878,7 +878,7 @@ define Image/Build/NetgearNAND
                -i $(imageraw) \
                -o $(call imgname,ubi,$(2))-factory.img
 
-       $(call Image/Build/SysupgradeNAND,$(2),$(KDIR_TMP)/vmlinux-$(2).uImage,$(KDIR_TMP)/root.squashfs)
+       $(call Image/Build/SysupgradeNAND,$(2),squashfs,$(KDIR_TMP)/vmlinux-$(2).uImage)
 endef