From c0853a46688a35f4e6cf872d71792eedf4802591 Mon Sep 17 00:00:00 2001 From: Kalle Valo Date: Mon, 4 Mar 2024 19:20:56 +0200 Subject: [PATCH] Makefile: add install target 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 | 3 +++ README.md | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/Makefile b/Makefile index d8831fe..944d79d 100644 --- a/Makefile +++ b/Makefile @@ -4,3 +4,6 @@ check: notices: @find -name '*.txt' | xargs file + +install: + ath12k-fw-repo --install /lib/firmware diff --git a/README.md b/README.md index 5fff318..4ead762 100644 --- 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/ -- 2.47.3