Pass the string of compatible models to the "zyxel-nwa-fit" image
generation script as an argument.
This is required to support new models using the same script.
Signed-off-by: David Bauer <[email protected]>
define Build/zyxel-nwa-fit
# "77 e1" is NWA90AX
$(TOPDIR)/scripts/mkits-zyxel-fit.sh \
endef
DEVICE_PACKAGES := kmod-mt7915-firmware zyxel-bootconfig
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
IMAGES += factory.bin ramboot-factory.bin
- IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | zyxel-nwa-fit
+ IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
+ zyxel-nwa-fit 6b e1 6f e1 77 e1 ff ff ff ff
IMAGE/ramboot-factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi
endef