diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-11-28 05:30:24 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-11-28 05:30:24 +0000 |
commit | df4590cfc0a95d5dc0d5e9b7d4af57c299b6e91b (patch) | |
tree | c06a8c02b8554f78940b867c65ee86364c1550f7 /packages/linux/linux.inc | |
parent | acebd6381f0345378ab01f4c04e8ca46c54a2478 (diff) |
linux.inc: Added support for processor endianness
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r-- | packages/linux/linux.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index 2fb0ce8177..09cf05f7d4 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -41,11 +41,19 @@ do_configure_prepend() { echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config fi + # + # endian support + # + if [ "${SITEINFO_ENDIANESS}" = "be" ]; then + echo "CONFIG_CPU_BIG_ENDIAN=y" >> ${S}/.config + fi + echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config sed -e '/CONFIG_AEABI/d' \ -e '/CONFIG_OABI_COMPAT=/d' \ -e '/CONFIG_CMDLINE=/d' \ + -e '/CONFIG_CPU_BIG_ENDIAN/d' \ -e '/CONFIG_LOGO=/d' \ -e '/CONFIG_LOGO_LINUX_CLUT224=/d' \ < '${WORKDIR}/defconfig' >>'${S}/.config' |