Patchwork [meta-handheld,09/12] linux.inc: drop OABI-only support

login
register
mail settings
Submitter lumag
Date Sept. 7, 2011, 2:03 p.m.
Message ID <1315404187-18176-10-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11167/
State Accepted, archived
Headers show

Comments

lumag - Sept. 7, 2011, 2:03 p.m.
It's not logical to support OABI-only config with current kernel/userspace. Drop support
for OABI configurations. If necessary one can enable OABI compat.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 recipes-kernel/linux/linux.inc |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

Patch

diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 03b9811..a31669f 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -38,17 +38,12 @@  do_configure_prepend() {
         #
         # oabi / eabi support
         #
-        if [ "${TARGET_OS}" = "linux-gnueabi" -o  "${TARGET_OS}" = "linux-uclibceabi" ]; then
-                echo "CONFIG_AEABI=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
-        fi
+	echo "CONFIG_AEABI=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
 
         # When enabling thumb for userspace we also need thumb support in the kernel
         if [ "${ARM_INSTRUCTION_SET}" = "thumb" ] ; then