diff options
author | David Bauer <mail@david-bauer.net> | 2018-08-22 17:30:44 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-08-28 11:26:53 +0200 |
commit | 8e9a59a6b924469c0061d4bd945ae0c6dbfdecfe (patch) | |
tree | 7914371eee00fbd443f0293f454e6d34e7d03274 /target/linux/ipq40xx | |
parent | 8132e0624726f0df512f79052299a5790259cda0 (diff) | |
download | upstream-8e9a59a6b924469c0061d4bd945ae0c6dbfdecfe.tar.gz upstream-8e9a59a6b924469c0061d4bd945ae0c6dbfdecfe.tar.bz2 upstream-8e9a59a6b924469c0061d4bd945ae0c6dbfdecfe.zip |
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>
Diffstat (limited to 'target/linux/ipq40xx')
-rw-r--r-- | target/linux/ipq40xx/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile index d1ee1004fd..5cd11cae23 100644 --- a/target/linux/ipq40xx/image/Makefile +++ b/target/linux/ipq40xx/image/Makefile @@ -221,7 +221,7 @@ define Device/zyxel_nbg6617 # at least as large as the one of the initial firmware image (not the current # one on the device). This only applies to the Web-UI, the bootlaoder ignores # this minimum-size. However, the larger image can be flashed both ways. - IMAGE/factory.bin := append-rootfs | pad-rootfs | check-size $$$$(ROOTFS_SIZE) | make-ras + IMAGE/factory.bin := append-rootfs | pad-rootfs | pad-to 64k | check-size $$$$(ROOTFS_SIZE) | zyxel-ras-image separate-kernel IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-rootfs | check-size $$$$(ROOTFS_SIZE) | sysupgrade-tar rootfs=$$$$@ | append-metadata DEVICE_PACKAGES := ipq-wifi-zyxel_nbg6617 uboot-envtools endef |