From c5151b11f0e0c2cbc769e96b45ee84d7dc552987 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 11 Jan 2006 02:55:09 +0000
Subject: [PATCH] fix typo in endian-ness select for squashfs

SVN-Revision: 2900
---
 openwrt/target/linux/image/squashfs.mk | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk
index 450718153c..7fe972a45e 100644
--- a/openwrt/target/linux/image/squashfs.mk
+++ b/openwrt/target/linux/image/squashfs.mk
@@ -1,9 +1,8 @@
-ifeq ($(BR2_LINUX_2_4_AR531X),)
-        endian := be
-else
-        endian := le
-endif
+endian := le
 
+ifeq ($(ARCH),mips)
+	endian := be
+endif
 
 squashfs-prepare:
 	$(MAKE) -C squashfs prepare $(MAKE_TRACE)
-- 
2.30.2