git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dba153e
)
linux.inc: mangle defconfig to support thumb when building a thumb userspace
author
Koen Kooi
<koen@openembedded.org>
Mon, 8 Dec 2008 18:22:02 +0000
(19:22 +0100)
committer
Koen Kooi
<koen@openembedded.org>
Mon, 8 Dec 2008 18:22:02 +0000
(19:22 +0100)
* Dave, you owe me a beer :)
packages/linux/linux.inc
patch
|
blob
|
history
diff --git
a/packages/linux/linux.inc
b/packages/linux/linux.inc
index
6b8b683
..
bd7c07b
100644
(file)
--- 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
#