build: add mkrasimage
authorDavid Bauer <mail@david-bauer.net>
Wed, 22 Aug 2018 15:30:44 +0000 (17:30 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 28 Aug 2018 09:26:53 +0000 (11:26 +0200)
commit8e9a59a6b924469c0061d4bd945ae0c6dbfdecfe
tree7914371eee00fbd443f0293f454e6d34e7d03274
parent8132e0624726f0df512f79052299a5790259cda0
build: add mkrasimage

The current make-ras.sh image generation script for the ZyXEL NBG6617
has portability issues with bash. Because of this, factory images are
currently not built correctly by the OpenWRT buildbots.

This commit replaces the make-ras.sh by C-written mkrasimage.

The new mkrasimage is also compatible with other ZyXEL devices using
the ras image-format.
This is not tested with the NBG6616 but it correctly builds the
header for ZyXEL factory image.

Signed-off-by: David Bauer <mail@david-bauer.net>
include/image-commands.mk
scripts/make-ras.sh [deleted file]
target/linux/ar71xx/image/generic.mk
target/linux/ipq40xx/image/Makefile
target/linux/ipq806x/image/Makefile
tools/firmware-utils/Makefile
tools/firmware-utils/src/mkrasimage.c [new file with mode: 0644]