From 8b5cfa1fdeb54d644d0a67a84624a2ba93494b54 Mon Sep 17 00:00:00 2001
From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 19 Dec 2009 18:10:41 +0000
Subject: ar71xx: fix WNDR3700 firmware images

WNDR3700's U-Boot loads the kernel from a squashfs image, and it does
not support squashfs 4.0.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18851 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/linux/ar71xx/image/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 92f698a35..b6012b21b 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -241,9 +241,9 @@ define Image/Build/WNDR3700
 	$(STAGING_DIR_HOST)/bin/wndr3700 \
 		$(KDIR)/vmlinux-$(2).uImage \
 		$(KDIR)/wndr3700/image/uImage
-	$(MKSQUASHFS_CMD) \
+	$(STAGING_DIR_HOST)/bin/mksquashfs-lzma \
 		$(KDIR)/wndr3700 $(KDIR)/vmlinux-$(2).uImage.squashfs.tmp \
-		-nopad -noappend -root-owned $(SQUASHFS_OPTS)
+		-nopad -noappend -root-owned -be
 	-rm -rf $(KDIR)/wndr3700
 	mkimage -A mips -O linux -T filesystem -C none \
 		-a 0xbf070000 -e 0xbf070000 \
-- 
cgit v1.2.3