]> git.ipfire.org Git - thirdparty/ath12k-firmware.git/commitdiff
Makefile: add install target
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 4 Mar 2024 17:20:56 +0000 (19:20 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 4 Mar 2024 17:20:56 +0000 (19:20 +0200)
To make it easier to install the files add install target to Makefile. Also
document in README.md how to install the files and add a link to lore.

Makefile
README.md

index d8831fe284974c926081fcfc638a7b080e39f323..944d79da0fdf58a510f27f2130ffcd2947189de0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,3 +4,6 @@ check:
 
 notices:
        @find -name '*.txt' | xargs file
+
+install:
+       ath12k-fw-repo --install /lib/firmware
index 5fff318303b2e08f7575afb9ce345b1b75f20c97..4ead762b69ce00130c6a1a1d170886857dfd3541 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,6 +3,16 @@
 Firmware files for ath12k, a mac80211 driver for Qualcomm Technologies
 802.11be (Wi-Fi 7) devices
 
+To install or update your firmware images:
+
+```
+wget https://github.com/qca/qca-swiss-army-knife/raw/master/tools/scripts/ath12k/ath12k-fw-repo
+chmod 755 ath12k-fw-repo
+./ath12k-fw-repo --install /lib/firmware
+```
+
+Or, if you copy `ath12k-fw-repo` in your $PATH, run `make install`.
+
 For more info check the wiki page:
 
 https://wireless.wiki.kernel.org/en/users/drivers/ath12k
@@ -14,3 +24,7 @@ https://wireless.wiki.kernel.org/en/users/drivers/ath12k/bugreport
 Questions, comments and feature requests to the ath12k mailing list:
 
 https://wireless.wiki.kernel.org/en/users/drivers/ath12k/mailinglist
+
+The list archive:
+
+https://lore.kernel.org/ath12k/