treewide: fix shell errors during dump stage
authorPetr Štetiar <ynezz@true.cz>
Thu, 15 Jun 2023 14:11:27 +0000 (16:11 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 13 Nov 2023 13:10:56 +0000 (14:10 +0100)
commit3555a2930f9ccefaabe4400364e1e2b29692b5de
tree2d4d6ff777ac17bcf159d6e7edf0399a800350ee
parent9bac24e767611375a261a0ae9b0ec055eeec86dd
treewide: fix shell errors during dump stage

Fixes following issues:

 bash: -c: line 1: `echo 1686820180<LINUX_VERMAGIC> | /staging_dir/host/bin/mkhash md5 | cut -b1-8'
 bash: -c: line 1: `echo 1686820180<LINUX_VERMAGIC> | /staging_dir/host/bin/mkhash md5 | sed -E 's/(.{8})(.{4})(.{4})(.{4})(.{10})../\1-\2-\3-\4-\500/''
 bash: -c: line 1: syntax error near unexpected token `|'
 bash: line 1: *1024*1024: syntax error: operand expected (error token is "*1024*1024")
 bash: line 1: (64 + ): syntax error: operand expected (error token is ")")
 expr: syntax error: missing argument after '+'

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 8fc496be860192f8bd1f16913657626014c8863f)
[ fix merge conflicts, adapt to 22.03 ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/image.mk
target/linux/layerscape/image/Makefile
target/linux/mediatek/image/mt7622.mk