summaryrefslogtreecommitdiffstats
path: root/openwrt/target
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target')
-rw-r--r--openwrt/target/linux/image/squashfs.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk
index 450718153..7fe972a45 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)