From: Mike Baker Date: Thu, 12 Jan 2006 20:21:55 +0000 (+0000) Subject: fix endian issue X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c3e3c8436929c6e1c60cb7304997ed0d7567b6b;p=openwrt%2Fstaging%2Fmans0n.git fix endian issue SVN-Revision: 2942 --- 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: