diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-15 19:18:32 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-15 19:18:32 +0200 |
commit | 6840b8c693807c358edec9447309d064325a026d (patch) | |
tree | 61d0d750fe9bb311cbac77a22e7881a55b68a3e4 /packages/linux/linux-rp.inc | |
parent | 0f14c351dd5b40afb2f5decd835949705f38ae76 (diff) |
linux-rp.inc: add switch to disable OABI compat like linux.inc has
Diffstat (limited to 'packages/linux/linux-rp.inc')
-rw-r--r-- | 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 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 |