[oe-commits] Koen Kooi : linux.inc: mangle defconfig to support thumb when building a thumb userspace
GIT User account
git at amethyst.openembedded.net
Mon Dec 8 18:25:04 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 818136a01114bed0dbdb51415fceec58e0907d5a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=818136a01114bed0dbdb51415fceec58e0907d5a
Author: Koen Kooi <koen at openembedded.org>
Date: Mon Dec 8 19:22:02 2008 +0100
linux.inc: mangle defconfig to support thumb when building a thumb userspace
* Dave, you owe me a beer :)
---
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 6b8b683..bd7c07b 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
#
More information about the Openembedded-commits
mailing list