mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 04:57:27 -04:00
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>
This commit is contained in:
@@ -585,8 +585,8 @@ define Device/netgear_dm200
|
||||
DEVICE_DTS := DM200
|
||||
IMAGES := sysupgrade.bin factory.img
|
||||
IMAGE/sysupgrade.bin := append-kernel | \
|
||||
pad-offset 64k 64 | append-uImage-fakeroot-hdr | \
|
||||
pad-offset 64k 64 | append-uImage-fakeroot-hdr | \
|
||||
pad-offset 64k 64 | append-uImage-fakehdr filesystem | \
|
||||
pad-offset 64k 64 | append-uImage-fakehdr filesystem | \
|
||||
append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/factory.img := $$(IMAGE/sysupgrade.bin) | netgear-dni
|
||||
IMAGE_SIZE := 7872k
|
||||
|
||||
Reference in New Issue
Block a user