summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux-rp.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-07-29 10:48:54 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-07-29 10:48:54 +0000
commitff065cec2b8af6c29c20f7d5937daafae928f02b (patch)
tree20bfcf347ddbc36669032c4996249d7441d773d0 /meta/packages/linux/linux-rp.inc
parenta25796619817e56ce1bf96fce39c967de137e09a (diff)
downloadopenembedded-core-ff065cec2b8af6c29c20f7d5937daafae928f02b.tar.gz
openembedded-core-ff065cec2b8af6c29c20f7d5937daafae928f02b.tar.bz2
openembedded-core-ff065cec2b8af6c29c20f7d5937daafae928f02b.tar.xz
openembedded-core-ff065cec2b8af6c29c20f7d5937daafae928f02b.zip
linux-rp: disable OABI support for non-qemu targets
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4979 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-rp.inc')
-rw-r--r--meta/packages/linux/linux-rp.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/packages/linux/linux-rp.inc b/meta/packages/linux/linux-rp.inc
index c92dc99e5..39d0f0525 100644
--- a/meta/packages/linux/linux-rp.inc
+++ b/meta/packages/linux/linux-rp.inc
@@ -103,7 +103,11 @@ do_configure() {
if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
echo "CONFIG_AEABI=y" >> ${S}/.config
- echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
+ if [ "${MACHINE}" = "qemuarm" -o "${MACHINE}" = "qemuarmv6" -o "${MACHINE}" = "qemuarmv7" -o ]; then
+ echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
+ else
+ echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config
+ fi
else
echo "# CONFIG_AEABI is not set" >> ${S}/.config
echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config