linux.inc: Fix logic error in CORTEXA8FIXUP test
authorSteve Sakoman <steve@sakoman.com>
Fri, 5 Nov 2010 21:58:22 +0000 (14:58 -0700)
committerKoen Kooi <koen@openembedded.org>
Mon, 22 Nov 2010 20:25:42 +0000 (21:25 +0100)
Signed-off-by: Koen Kooi <koen@openembedded.org>
recipes/linux/linux.inc

index 47da439..658fe84 100644 (file)
@@ -110,7 +110,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 [ "${DISTRO_NAME}" = "Angstrom" -a "${CORTEXA8FIXUP}" = "yes" ] ; then
             sed -i -e /CONFIG_ARM_ERRATA_430973/d ${WORKDIR}/defconfig
             echo "CONFIG_ARM_ERRATA_430973=y" >> ${S}/.config
         fi