[OpenWrt-Devel] [PATCH v5 5/5] ath79: add support for Netgear WNR2200

mail at adrianschmutzler.de mail at adrianschmutzler.de
Wed Oct 16 17:22:04 EDT 2019


Hi,

> +define Device/netgear_wnr2200-8m
> +  $(Device/netgear_wnr2200_common)
> +  DEVICE_VARIANT := 8M
> +  IMAGE_SIZE := 7808k
> +  IMAGES += factory-NA.img
> +  IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | \
> +	check-size $$$$(IMAGE_SIZE)
> +  SUPPORTED_DEVICES += wnr2200-8m netgear,wnr2200 wnr2200 endef

You should only need wnr2200 here (from ar71xx).

> +TARGET_DEVICES += netgear_wnr2200-8m
> +
> +define Device/netgear_wnr2200-16m
> +  $(Device/netgear_wnr2200_common)
> +  DEVICE_VARIANT := 16M
> +  DEVICE_ALT0_VENDOR := NETGEAR
> +  DEVICE_ALT0_MODEL := WNR2200
> +  DEVICE_ALT0_VARIANT := CN/RU
> +  IMAGE_SIZE := 16000k
> +  SUPPORTED_DEVICES += wnr2200-16m

You shouldn't need SUPPORTED_DEVICES for this one at all, as you add it here for the first time.

Best

Adrian
-------------- 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.infradead.org/pipermail/openwrt-devel/attachments/20191016/e7d5cfc3/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list