linux.inc: add angstrom-only hack for angstrom-only toolchain issue
authorKoen Kooi <koen@openembedded.org>
Tue, 27 Apr 2010 15:37:46 +0000 (17:37 +0200)
committerKoen Kooi <koen@openembedded.org>
Tue, 27 Apr 2010 15:37:46 +0000 (17:37 +0200)
recipes/linux/linux.inc

index 39d04e1..6513db2 100644 (file)
@@ -89,6 +89,12 @@ do_configure_prepend() {
             echo "CONFIG_ARM_THUMB=y" >> ${S}/.config
         fi
 
+        # Enable thumb2 fixup for specific issue in angstrom toolchains when used on A8 r1p[012] silicon
+        if [ "${DISTRO_NAME}" = "Angstrom" ] ; then
+            sed -i -e /CONFIG_ARM_ERRATA_430973/d ${WORKDIR}/defconfig
+            echo "CONFIG_ARM_ERRATA_430973=y" >> ${S}/.config
+        fi
+
        #
        # endian support
        #