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)