From 2caec95207443c9225710256cd5f681360ddef5a Mon Sep 17 00:00:00 2001 From: mbm Date: Thu, 12 Jan 2006 20:21:55 +0000 Subject: fix endian issue git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2942 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/target/linux/image/jffs2.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openwrt/target/linux/image') diff --git a/openwrt/target/linux/image/jffs2.mk b/openwrt/target/linux/image/jffs2.mk index fb8feab47..b6396e66a 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: -- cgit v1.2.3