aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-25 00:51:27 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-09-29 00:46:13 +0200
commitc5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec (patch)
treeff926aa63e6bd2f0dafe13ad0d4ec971ee057694 /target/linux/mxs
parent0bbfc3dff719e6f6691bd7cc5db06ece52ca131b (diff)
downloadupstream-c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec.tar.gz
upstream-c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec.tar.bz2
upstream-c5b4fa20fadbdc47264a9c1f76d7b9351c42e7ec.zip
treewide: replace backticks by $(...) in gen_*_img.sh scripts
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/mxs')
-rwxr-xr-xtarget/linux/mxs/image/gen_sdcard_ext4_ext4.sh2
-rwxr-xr-xtarget/linux/mxs/image/gen_sdcard_vfat_ext4.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mxs/image/gen_sdcard_ext4_ext4.sh b/target/linux/mxs/image/gen_sdcard_ext4_ext4.sh
index 5653ba892f..99bd3bf573 100755
--- a/target/linux/mxs/image/gen_sdcard_ext4_ext4.sh
+++ b/target/linux/mxs/image/gen_sdcard_ext4_ext4.sh
@@ -21,7 +21,7 @@ head=4
sect=63
# set the Boot stream partition size to 1M
-set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 1M -t 83 -p ${ROOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
+set $(ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 1M -t 83 -p ${ROOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M)
ROOTFS1OFFSET="$(($3 / 512))"
ROOTFS1SIZE="$(($4 / 512))"
diff --git a/target/linux/mxs/image/gen_sdcard_vfat_ext4.sh b/target/linux/mxs/image/gen_sdcard_vfat_ext4.sh
index 616639d237..bca664c780 100755
--- a/target/linux/mxs/image/gen_sdcard_vfat_ext4.sh
+++ b/target/linux/mxs/image/gen_sdcard_vfat_ext4.sh
@@ -23,7 +23,7 @@ head=4
sect=63
# Set the u-boot storage to 2M
-set `ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 2M -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M`
+set $(ptgen -o $OUTPUT -h $head -s $sect -l 1024 -t 53 -p 2M -t c -p ${BOOTFSSIZE}M -t 83 -p ${ROOTFSSIZE}M)
UBOOTOFFSET="$(($1 / 512))"
UBOOTSIZE="$(($2 / 512))"