build: consolidate fake uImage header build commands
authorMathias Kresin <dev@kresin.me>
Fri, 20 Apr 2018 04:30:46 +0000 (06:30 +0200)
committerMathias Kresin <dev@kresin.me>
Fri, 20 Apr 2018 18:58:52 +0000 (20:58 +0200)
commit74a0d8cd92c7e753c6a342a7b90151ec042a03c5
treef0fb63e26b872c1e799d8cf729182df3a2d8861d
parent5950ab067bcc6ffa9ab6bb0c28c8d9ca45d34eb7
build: consolidate fake uImage header build commands

Merge the two existing functions and use a parameter for the type
header field.

It updates the syntax of the former mpc85xx fake ramdisk header
command to be compatible with mkimage from u-boot 2018.03 and fixes the
build error spotted by the build bot.

Signed-off-by: Mathias Kresin <dev@kresin.me>
include/image-commands.mk
target/linux/apm821xx/image/Makefile
target/linux/ipq40xx/image/Makefile
target/linux/ipq806x/image/Makefile
target/linux/lantiq/image/Makefile
target/linux/mpc85xx/image/Makefile
target/linux/ramips/image/mt7620.mk