[oe-commits] Koen Kooi : linux.inc: add switch to turn of OABI compat for arm kernels
GIT User account
git at amethyst.openembedded.net
Wed Oct 15 21:13:49 UTC 2008
Module: openembedded.dev.git
Branch: holger/hash-style
Commit: 201e05c72b20fc1401858461bc9ee7bfaa369dc4
URL: http://gitweb.openembedded.net/?p=openembedded.dev.git&a=commit;h=201e05c72b20fc1401858461bc9ee7bfaa369dc4
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Oct 15 19:11:12 2008 +0200
linux.inc: add switch to turn of OABI compat for arm kernels
---
packages/linux/linux.inc | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index a6bffe7..58b660a 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -6,6 +6,9 @@ inherit kernel
RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
+# Enable OABI compat for people stuck with obsolete userspace
+ARM_KEEP_OABI ?= "1"
+
# Specify the commandline for your device
# Boot from mmc
@@ -59,7 +62,11 @@ do_configure_prepend() {
#
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