aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-26 15:39:45 +0000
committerMichael Smith <msmith@cbnco.com>2010-11-14 18:36:50 -0500
commit6e6f4ca2cd1ab02b08410013acfa9df121a70ee1 (patch)
tree59737464b7a3ee2fc4fd1d7fe0e366bc51937ca0 /classes
parent390d0b8bfcd31a4884355c1fbdb7a6ad73be6d60 (diff)
downloadopenembedded-6e6f4ca2cd1ab02b08410013acfa9df121a70ee1.tar.gz
xilinx-bsp.bbclass: fix sh equality operator
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/xilinx-bsp.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/xilinx-bsp.bbclass b/classes/xilinx-bsp.bbclass
index eb47634da2..9776c2364a 100644
--- a/classes/xilinx-bsp.bbclass
+++ b/classes/xilinx-bsp.bbclass
@@ -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