From: Koen Kooi Date: Wed, 15 Oct 2008 17:18:32 +0000 (+0200) Subject: linux-rp.inc: add switch to disable OABI compat like linux.inc has X-Git-Tag: Release-2010-05/1~5802 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6840b8c693807c358edec9447309d064325a026d;p=openembedded.git linux-rp.inc: add switch to disable OABI compat like linux.inc has --- diff --git a/packages/linux/linux-rp.inc b/packages/linux/linux-rp.inc index 5d32113848..cb2e85e49a 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