summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2006-01-09 16:03:36 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2006-01-09 16:03:36 +0000
commitab551ba31edf4f5d7d2049c56e646bca492366ee (patch)
treefea900ef981c463ab0d117b8245905d855c92144 /openwrt/target/linux/image
parent2647efdaab4e47aa7c853a2f8eb5d22149c842c3 (diff)
downloadmtk-20170518-ab551ba31edf4f5d7d2049c56e646bca492366ee.zip
mtk-20170518-ab551ba31edf4f5d7d2049c56e646bca492366ee.tar.gz
mtk-20170518-ab551ba31edf4f5d7d2049c56e646bca492366ee.tar.bz2
add updates for atheros SOC support from Mike A., thx
SVN-Revision: 2866
Diffstat (limited to 'openwrt/target/linux/image')
-rw-r--r--openwrt/target/linux/image/squashfs.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/openwrt/target/linux/image/squashfs.mk b/openwrt/target/linux/image/squashfs.mk
index 63eba44..4507181 100644
--- a/openwrt/target/linux/image/squashfs.mk
+++ b/openwrt/target/linux/image/squashfs.mk
@@ -1,3 +1,10 @@
+ifeq ($(BR2_LINUX_2_4_AR531X),)
+ endian := be
+else
+ endian := le
+endif
+
+
squashfs-prepare:
$(MAKE) -C squashfs prepare $(MAKE_TRACE)
@@ -10,7 +17,7 @@ squashfs-clean:
$(KDIR)/root.squashfs: install-prepare
@mkdir -p $(KDIR)/root/jffs
- $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -le $(MAKE_TRACE)
+ $(STAGING_DIR)/bin/mksquashfs-lzma $(KDIR)/root $@ -nopad -noappend -root-owned -$(endian) $(MAKE_TRACE)
ifeq ($(IB),)
squashfs-install: compile-targets $(BOARD)-compile