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