aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/nslu2.conf
blob: 966334a0d67caee9d34032f00e182b56155c24ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#@TYPE: Machine
#@NAME: Linksys NSLU2
#@DESCRIPTION: Machine configuration for the Linksys NSLU2 product

# Note that TARGET_ARCH gets set by the DISTRO for the "nslu2" machine.
# (Yes, this was a mistake, but it's legacy and can't be easily changed now.)
# The "nslu2" machine is deprecated - use "nslu2le" or "nslu2be" instead.

require conf/machine/include/ixp4xx.conf

# This should eventually be removed (when we move from nslu2 to nslu2le/nslu2be).
MACHINE_ARCH = "${@['ixp4xxbe', 'ixp4xxle'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"

# This should eventually be removed (when we move from nslu2 to nslu2le/nslu2be).
PACKAGE_ARCH = "${@['armeb', 'arm'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"

# This should eventually be removed (when we move from nslu2 to nslu2le/nslu2be).
PACKAGE_EXTRA_ARCHS = "${@['ixp4xxbe nslu2be', 'ixp4xxle nslu2le'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"

# This should eventually be removed (when we move from nslu2 to nslu2le/nslu2be).
EXTRA_IMAGECMD_jffs2 += "${@['--big-endian', '--little-endian'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"