diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-08 19:22:02 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-08 19:22:02 +0100 |
commit | 818136a01114bed0dbdb51415fceec58e0907d5a (patch) | |
tree | cc267a997d64d59de4702c137a494ef69bde5fb5 /packages/linux/linux.inc | |
parent | dba153e51695d71eec91123468c9ca9ddc97b9dc (diff) |
linux.inc: mangle defconfig to support thumb when building a thumb userspace
* Dave, you owe me a beer :)
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r-- | packages/linux/linux.inc | 6 |
1 files changed, 6 insertions, 0 deletions
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 # |