linux.inc: fix cortex errata logic
authorKoen Kooi <koen@dominion.thruhere.net>
Wed, 1 Jun 2011 10:17:36 +0000 (12:17 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Wed, 1 Jun 2011 10:17:36 +0000 (12:17 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-kernel/linux/linux.inc

index a8ddf7f162b4b9e11135111845c74a1fd0874469..77e3179fb39521e229424e6bb956cd92042d5874 100644 (file)
@@ -115,7 +115,7 @@ do_configure_prepend() {
         fi
 
         # Enable thumb2 fixup for specific issue in angstrom toolchains when used on A8 r1p[012] silicon
-        if [ "${DISTRO_NAME}" = "Angstrom" -o "${CORTEXA8FIXUP}" = "yes" ] ; then
+        if [ "${CORTEXA8FIXUP}" = "yes" ] ; then
             sed -i -e /CONFIG_ARM_ERRATA_430973/d ${WORKDIR}/defconfig
             echo "CONFIG_ARM_ERRATA_430973=y" >> ${S}/.config
         fi