summaryrefslogtreecommitdiff
path: root/packages/linux/linux.inc
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2007-11-28 12:14:40 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2007-11-28 12:14:40 +0000
commitdff263b991bbfbaa61fb4ca5420af35237516e2d (patch)
tree7d0b35596d2bf2c8a923f4f5ffe398cefafab404 /packages/linux/linux.inc
parent0a7584d87cca139e6e88149eda137d77ed039501 (diff)
parent851746c1c01388990f6908dd51bf1c3756eabec1 (diff)
merge of 'ce64d96dcf3b268df1bdcd7e945e7188d09c7db8'
and 'd521cbe6aca8b81bda5eb51149cea06dd31e1dd2'
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r--packages/linux/linux.inc8
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'