summaryrefslogtreecommitdiffstats
path: root/board/integratorcp
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-02 15:54:45 +0100
committerWolfgang Denk <wd@denx.de>2008-01-02 15:54:45 +0100
commit1aaab9bfae0b3b2ee2b418c22c651280ee7b65c7 (patch)
tree572bd02a0888577ae17373cad54c32eeaa3b45c0 /board/integratorcp
parent8f8b52ea5b35c29669f2471de644c0bb7339c70a (diff)
downloadu-boot-1aaab9bfae0b3b2ee2b418c22c651280ee7b65c7.tar.gz
u-boot-1aaab9bfae0b3b2ee2b418c22c651280ee7b65c7.tar.xz
u-boot-1aaab9bfae0b3b2ee2b418c22c651280ee7b65c7.zip
Make scripts and Makefiles POSIX compliant
The bash builtin versions of the "test" (resp. "[") command allow using "==" for string comparisons, but POSIX compatible implemen- tations (like /usr/bin/test) insist on using "=" only. On such systems you will see: $ /usr/bin/test a == a && echo OK /usr/bin/test: ==: binary operator expected This patch fixes Makefiles and scripts to use POSIX style. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/integratorcp')
-rwxr-xr-xboard/integratorcp/split_by_variant.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/integratorcp/split_by_variant.sh b/board/integratorcp/split_by_variant.sh
index 37ae517fc0..79a6a9d55d 100755
--- a/board/integratorcp/split_by_variant.sh
+++ b/board/integratorcp/split_by_variant.sh
@@ -12,7 +12,7 @@ echo " 1 /* Integrator/CP */" >> tmp.fil
cpu="arm_intcm"
variant="unknown core module"
-if [ "$1" == "" ]
+if [ "$1" = "" ]
then
echo "$0:: No parameters - using arm_intcm"
else
@@ -79,7 +79,7 @@ else
fi
-if [ "$cpu" == "arm_intcm" ]
+if [ "$cpu" = "arm_intcm" ]
then
echo "/* Core module undefined/not ported */" >> tmp.fil
echo "#define CONFIG_ARM_INTCM 1" >> tmp.fil