summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image/jffs2.mk
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-12 20:21:55 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-12 20:21:55 +0000
commit2caec95207443c9225710256cd5f681360ddef5a (patch)
tree200520022ff072ef07810f948bd30ae39bef3793 /openwrt/target/linux/image/jffs2.mk
parentb33ad85480a97616e44ad37459cef59533d642f8 (diff)
fix endian issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2942 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/image/jffs2.mk')
-rw-r--r--openwrt/target/linux/image/jffs2.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/jffs2.mk b/openwrt/target/linux/image/jffs2.mk
index fb8feab474..b6396e66ab 100644
--- a/openwrt/target/linux/image/jffs2.mk
+++ b/openwrt/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: