mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
realtek: image: add recipe for ZyNOS-based Zyxel devices
Add a new recipe 'zyxel-zynos' which contains common behavior/definitions for ZyNOS-based Zyxel devices which requirea special image to be built using 'zynos-firmware' recipe. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22909 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
62a15f06b1
commit
647daebf64
@ -122,3 +122,20 @@ define Device/zyxel_xgs1210-12
|
||||
rt-loader | \
|
||||
uImage none
|
||||
endef
|
||||
|
||||
define Device/zyxel_zynos
|
||||
$(Device/rt-loader-bootbase)
|
||||
DEVICE_VENDOR := Zyxel
|
||||
ZYNFW_BOARD := $$(DEVICE_MODEL)
|
||||
COMPILE := loader-$(1).bin
|
||||
COMPILE/loader-$(1).bin := rt-loader-standalone
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := \
|
||||
append-kernel | \
|
||||
pad-to 64k | \
|
||||
append-rootfs | \
|
||||
pad-rootfs | \
|
||||
check-size | \
|
||||
zynos-firmware
|
||||
IMAGE/sysupgrade.bin := $$(IMAGE/factory.bin) | append-metadata
|
||||
endef
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user