summaryrefslogtreecommitdiff
path: root/images
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-05-19 20:26:48 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-05-19 20:26:59 +0300
commit7a542d4685631c369bcc65a632a15799543fc292 (patch)
tree9ff048521c1918aa10050a30e1eb2a6a9b9f1634 /images
parentbcd880c8e4085c943a055bcb2e2dc78feda33bea (diff)
Convert all shell variables to lowercase
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'images')
-rw-r--r--images/CrOS.sh2
-rw-r--r--images/FIT.sh10
-rw-r--r--images/srec.sh2
-rw-r--r--images/uImage.sh2
4 files changed, 8 insertions, 8 deletions
diff --git a/images/CrOS.sh b/images/CrOS.sh
index eb9ff05..b79e9a4 100644
--- a/images/CrOS.sh
+++ b/images/CrOS.sh
@@ -30,7 +30,7 @@ make_CrOS_image() {
if [[ -f $opt_cmdline_file ]] ; then
config=$opt_cmdline_file
else
- echo "$CMDLINE" > $boot_dir/cmdline
+ echo "$cmdline" > $boot_dir/cmdline
config=$boot_dir/cmdline
fi
diff --git a/images/FIT.sh b/images/FIT.sh
index 0ed5482..f56ccba 100644
--- a/images/FIT.sh
+++ b/images/FIT.sh
@@ -17,8 +17,8 @@ make_FIT_image() {
arch = "$arch";
os = "linux";
compression = "none";
- load = <$LOADADDR>;
- entry = <$LOADADDR>;
+ load = <$loadaddr>;
+ entry = <$loadaddr>;
hash-1 {
algo = "crc32";
};
@@ -30,7 +30,7 @@ EOF
local dtb
- for dtb in $DTBS ; do
+ for dtb in $dtbs ; do
local src=${dtb/:*/}
local dst=${dtb/*:/}
dst=${dst/*\//}
@@ -52,14 +52,14 @@ EOF
EOF
done
- local config=$(echo $DTBS | sed 's/.*[:/]//')
+ local config=$(echo $dtbs | sed 's/.*[:/]//')
cat <<EOF >> $kernel_its
};
configurations {
default = "conf-$config";
EOF
- for dtb in $DTBS ; do
+ for dtb in $dtbs ; do
local dst=${dtb/*:/}
dst=${dst/*\//}
diff --git a/images/srec.sh b/images/srec.sh
index 6f89b92..a9e9b0c 100644
--- a/images/srec.sh
+++ b/images/srec.sh
@@ -7,7 +7,7 @@ make_srec_image() {
objcopy -I binary -O srec --srec-forceS3 --srec-len 516 \
$image.xz $image.xz.srec
- for dtb in $DTBS ; do
+ for dtb in $dtbs ; do
local src=${dtb/:*/}
objcopy -I binary -O srec --srec-forceS3 --srec-len 516 \
diff --git a/images/uImage.sh b/images/uImage.sh
index 40e7cf3..716900e 100644
--- a/images/uImage.sh
+++ b/images/uImage.sh
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0+
make_uImage_image() {
- mkimage -A $arch -O linux -T kernel -C none -a $LOADADDR -e $LOADADDR \
+ mkimage -A $arch -O linux -T kernel -C none -a $loadaddr -e $loadaddr \
-n "Linux-${version}" -d $output_dir/arch/$arch/boot/$kernel_image \
$output_dir/arch/$arch/boot/uImage
}