From 7c3e3c8436929c6e1c60cb7304997ed0d7567b6b Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Thu, 12 Jan 2006 20:21:55 +0000 Subject: [PATCH] fix endian issue SVN-Revision: 2942 --- openwrt/target/linux/image/jffs2.mk | 5 +++++ 1 file changed, 5 insertions(+) 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: -- 2.25.1