[oe-commits] Koen Kooi : linux-rp.inc: add switch to disable OABI compat like linux. inc has
GIT User account
git at amethyst.openembedded.net
Wed Oct 15 17:19:41 UTC 2008
Module: openembedded.dev.git
Branch: org.openembedded.dev
Commit: 6840b8c693807c358edec9447309d064325a026d
URL: http://gitweb.openembedded.net/?p=openembedded.dev.git&a=commit;h=6840b8c693807c358edec9447309d064325a026d
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Oct 15 19:18:32 2008 +0200
linux-rp.inc: add switch to disable OABI compat like linux.inc has
---
packages/linux/linux-rp.inc | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/packages/linux/linux-rp.inc b/packages/linux/linux-rp.inc
index 5d32113..cb2e85e 100644
--- a/packages/linux/linux-rp.inc
+++ b/packages/linux/linux-rp.inc
@@ -17,6 +17,9 @@ TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches"
COMPATIBLE_HOST = "(arm|i.86).*-linux"
COMPATIBLE_MACHINE = '(collie|poodle|c7x0|akita|spitz|tosa|hx2000|qemuarm|qemux86|bootcdx86|htcuniversal|zylonite)'
+# Enable OABI compat for people stuck with obsolete userspace
+ARM_KEEP_OABI ?= "1"
+
KERNEL_DEFCONFIG ?= "defconfig-${MACHINE}"
CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd"
@@ -119,7 +122,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 [ "${ARM_KEEP_OABI}" = "1" ] ; 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
More information about the Openembedded-commits
mailing list