diff options
Diffstat (limited to 'target/linux/mxs/image/gen_sdcard_vfat_ext4.sh')
-rwxr-xr-x | target/linux/mxs/image/gen_sdcard_vfat_ext4.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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))" |