From 647daebf64dd878dc159f93e2961b117ab5692f9 Mon Sep 17 00:00:00 2001 From: Jonas Jelonek Date: Fri, 10 Apr 2026 11:39:21 +0000 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/22909 Signed-off-by: Robert Marko --- target/linux/realtek/image/common.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/target/linux/realtek/image/common.mk b/target/linux/realtek/image/common.mk index f8c5d0aa82..3a820fec43 100644 --- a/target/linux/realtek/image/common.mk +++ b/target/linux/realtek/image/common.mk @@ -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