#@NAME: Linksys NSLU2 (big-endian)
#@DESCRIPTION: Machine configuration for an NSLU2 in big-endian mode
-require conf/machine/ixp4xxbe.conf
+TARGET_ARCH = "armeb"
-MACHINE_ARCH = "ixp4xxbe"
+# Note: armv4b armv4tb armv5teb will be added by tune-xscale.inc automatically.
+PACKAGE_EXTRA_ARCHS = "armv5eb ixp4xxbe"
-PACKAGE_EXTRA_ARCHS += "ixp4xxbe"
+OVERRIDES = "local:${MACHINE}:nslu2:ixp4xx:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
+
+ROOT_FLASH_SIZE ?= "6"
+
+require conf/machine/include/ixp4xx.inc
+
+EXTRA_IMAGECMD_jffs2 += "--big-endian"