summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/linux/linux.inc9
1 files changed, 8 insertions, 1 deletions
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