From: Christian Marangi Date: Mon, 2 Oct 2023 16:53:16 +0000 (+0200) Subject: ipq-wifi: improve and update instructions on how to add board files X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=93182ff272af0379581638399fba1948b11c7259;p=openwrt%2Fstaging%2Fhauke.git ipq-wifi: improve and update instructions on how to add board files Improve and update instructions on how to add board files and both describe the needed step to upstream a board file or to use it locally. Signed-off-by: Christian Marangi --- diff --git a/package/firmware/ipq-wifi/Makefile b/package/firmware/ipq-wifi/Makefile index 6dd2260fac..fe11b71e48 100644 --- a/package/firmware/ipq-wifi/Makefile +++ b/package/firmware/ipq-wifi/Makefile @@ -116,9 +116,23 @@ Do not install it for any other device! PREV_BOARD+=ipq-wifi-$(1) endef -# Add board name to ALLWIFIBOARDS -# Place files in this directory as board-. -# Add $(eval $(call generate-ipq-wifi-package,,)) +# To add local files for testing: +# 1. create a new directory in the ipq-wifi package directory called "files". +# 2. place there the needed board files. +# +# To send a board file upstream: +# 1. create a pull request in https://github.com/openwrt/firmware_qca-wireless or +# send a patch to the mailing list adding the tag firmware/qca-wireless before +# the PATCH tag. +# 2. create a pull request in the main openwrt repository bumping the ipq-wifi +# package to the new version and adding the required lines to add the board file. +# +# Changes needed to the ipq-wifi Makefile: +# 1. Add board name to ALLWIFIBOARDS +# 2. Add $(eval $(call generate-ipq-wifi-package,,)) +# +# Board files should follow this name structure: +# board-. $(eval $(call generate-ipq-wifi-package,buffalo_wxr-5950ax12,Buffalo WXR-5950AX12)) $(eval $(call generate-ipq-wifi-package,compex_wpq873,Compex WPQ-873))