mediatek: mt7623: use bash for generating bootable images
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 8 Sep 2020 08:26:34 +0000 (09:26 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 19 Sep 2020 12:39:29 +0000 (13:39 +0100)
commit7190fb2da46bca02c233432db2cad57655208b68
tree92bb8dbe92e39687e35993e5ae15600f8906e096
parentd10b738c4b50d24a474c865ea7d0dca0fe623245
mediatek: mt7623: use bash for generating bootable images

It turns out that 'echo -e' isn't portable; it doesn't work in the dash
builtin echo and Ubuntu users are complaining.

I can't even get octal (specified by POSIX) to work consistently because
those  variants of 'echo' which *do* support -e don't seem to interpret
octalwithout it.

I could switch to /bin/echo but using -e with that isn't actually
portable *either* even though it works today.

For now just stick with bash, and use its builtin. We may end up using
something else entirely; perhaps perl.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
target/linux/mediatek/image/gen_mtk_mmc_img.sh