From: Koen Kooi Date: Wed, 15 Oct 2008 17:11:12 +0000 (+0200) Subject: linux.inc: add switch to turn of OABI compat for arm kernels X-Git-Tag: Release-2010-05/1~5804 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=201e05c72b20fc1401858461bc9ee7bfaa369dc4;p=openembedded.git linux.inc: add switch to turn of OABI compat for arm kernels --- diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index a6bffe728a..58b660a2eb 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