summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-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: