diff options
author | Koen Kooi <koen@openembedded.org> | 2006-09-20 09:35:34 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2006-09-20 09:35:34 +0000 |
commit | f41a97d84ff0da5e00207320d9311dcfcf2eced2 (patch) | |
tree | d55bf830af29c4f4a8b33578823c113909f540b6 | |
parent | 0e7c2258c52e9c11a3725098a6e97e2b2c6c53be (diff) |
uclibc.inc: add code to enable/disable EABI for ARM systems based on TARGET_OS
* inspired by Richards code from linux-openzaurus.inc
-rw-r--r-- | packages/uclibc/uclibc.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc.inc b/packages/uclibc/uclibc.inc index 8cd85d53d1..22ee7753de 100644 --- a/packages/uclibc/uclibc.inc +++ b/packages/uclibc/uclibc.inc @@ -110,6 +110,15 @@ do_configure() { perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=${TARGET_ARCH}\nCROSS=${TARGET_PREFIX},g' ${S}/Rules.mak perl -i -p -e '${configmangle}' ${S}/.config + + sed -i -e '/CONFIG_ARM_EABI/d' ${S}/.config + + if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then + echo "CONFIG_ARM_EABI=y" >> ${S}/.config + else + echo "# CONFIG_ARM_EABI is not set" >> ${S}/.config + fi + oe_runmake oldconfig } |