From: Jonas Jelonek Date: Fri, 10 Apr 2026 11:39:21 +0000 (+0000) Subject: realtek: image: add recipe for ZyNOS-based Zyxel devices X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=647daebf64dd878dc159f93e2961b117ab5692f9;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/target/linux/realtek/image/common.mk b/target/linux/realtek/image/common.mk index f8c5d0aa827..3a820fec431 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