xilinx-bsp.bbclass: fix sh equality operator
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 26 Oct 2010 15:39:45 +0000 (15:39 +0000)
committerMichael Smith <msmith@cbnco.com>
Sun, 14 Nov 2010 23:36:50 +0000 (18:36 -0500)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Michael Smith <msmith@cbnco.com>
classes/xilinx-bsp.bbclass

index eb47634..9776c23 100644 (file)
@@ -66,7 +66,7 @@ if [ -n "${XILINX_BSP_PATH}" ]; then
                        dts=`find "${XILINX_BSP_PATH}" -name *.dts -print`
                        if [ -e "$dts" ]; then
                                oenote "Replacing device tree to match hardware model"
-                               if [ "${TARGET_ARCH}" == "powerpc" ]; then
+                               if [ "${TARGET_ARCH}" = "powerpc" ]; then
                                        cp -pP ${dts} ${S}/arch/powerpc/boot/dts/virtex${TARGET_BOARD}.dts
                                else
                                        cp -pP ${dts} ${S}/arch/microblaze/platform/generic/${TARGET_BOARD}.dts
@@ -77,7 +77,7 @@ if [ -n "${XILINX_BSP_PATH}" ]; then
                        fi
                elif [ -d "${S}/board/xilinx" ]; then
                        oenote "Replacing xparameters header to match hardware model"
-                       if [ "${TARGET_ARCH}" == "powerpc" ]; then
+                       if [ "${TARGET_ARCH}" = "powerpc" ]; then
                                xparam="${XILINX_BSP_PATH}/ppc${TARGET_CPU}_0/include/xparameters.h"
                                cpu="PPC`echo ${TARGET_CPU} | tr '[:lower:]' '[:upper:]'`"
                        else