aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/image
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-01-12 20:21:55 +0000
committerMike Baker <mbm@openwrt.org>2006-01-12 20:21:55 +0000
commitb644fb944a6ea0779eb5375122f76a88f224dbfe (patch)
tree14290d8ac8aafd7345a066e50e06fce04b7fedf1 /target/linux/image
parent8df8d59ce5fb2b780ccad261759bf5005b404aef (diff)
downloadupstream-b644fb944a6ea0779eb5375122f76a88f224dbfe.tar.gz
upstream-b644fb944a6ea0779eb5375122f76a88f224dbfe.tar.bz2
upstream-b644fb944a6ea0779eb5375122f76a88f224dbfe.zip
fix endian issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2942 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/image')
-rw-r--r--target/linux/image/jffs2.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/image/jffs2.mk b/target/linux/image/jffs2.mk
index fb8feab474..b6396e66ab 100644
--- a/target/linux/image/jffs2.mk
+++ b/target/linux/image/jffs2.mk
@@ -1,4 +1,9 @@
+ifneq ($(BR2_mips),y)
JFFS2OPTS := --pad --little-endian --squash
+else
+JFFS2OPTS := --pad --big-endian --squash
+endif
+
#JFFS2OPTS += -Xlzo -msize -Xlzari
jffs2-prepare: