From: Koen Kooi Date: Mon, 8 Dec 2008 18:22:02 +0000 (+0100) Subject: linux.inc: mangle defconfig to support thumb when building a thumb userspace X-Git-Tag: Release-2010-05/1~4826 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818136a01114bed0dbdb51415fceec58e0907d5a;p=openembedded.git linux.inc: mangle defconfig to support thumb when building a thumb userspace * Dave, you owe me a beer :) --- diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index 6b8b6839f8..bd7c07b3d9 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -74,6 +74,12 @@ do_configure_prepend() { echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config fi + # When enabling thumb for userspace we also need thumb support in the kernel + if [ "${ARM_INSTRUCTION_SET}" = "thumb" ] ; then + sed -i -e /CONFIG_ARM_THUMB/d ${WORKDIR}/defconfig + echo "CONFIG_ARM_THUMB=y" >> ${S}/.config + fi + # # endian support #