[PATCH 1/2] realtek: Add generic zyxel_gs1900 image definition
Adrian Schmutzler
mail at adrianschmutzler.de
Sat Feb 27 11:03:43 EST 2021
> > DEVICE_VARS += ZYXEL_VERS
> >
> > define Device/zyxel_gs1900
> > IMAGE_SIZE := 6976k
> > DEVICE_VENDOR := ZyXEL
> > UIMAGE_MAGIC := 0x83800000
> > KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers
> $$$$(ZYXEL_VERS)
> > | uImage gzip
> > endef
> >
> > define Device/zyxel_gs1900-10hp
> > $(Device/zyxel_gs1900)
> > SOC := rtl8380
> > DEVICE_MODEL := GS1900-10HP
> > ZYXEL_VERS := AAZI
> > endef
> > TARGET_DEVICES += zyxel_gs1900-10hp
> >
> > That would still keep the kernel_initramfs recipe in the common node. Of
> course, this might eventually hit a point where having the common node is
> more effort than benefit.
>
> I will update it like this and also remove the DEVICE_MODEL.
Note that the wrapped line for KERNEL_INITRAMFS is broken in my example ...
Best
Adrian
>
> Hauke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210227/cf873b65/attachment-0001.sig>
More information about the openwrt-devel
mailing list