genode/repos/dde_linux/recipes/raw/wifi_firmware/content.mk
Benjamin Lamowski 04efe88044 wifi/pc: add support for loading PNVM files
Intel wifi cards in the AX210 family need additional PNVM firmware to
function properly. Enable the bundling and loading of *.pnvm files.

Issue #4663
2022-11-17 08:00:37 +01:00

19 lines
427 B
Makefile

PORT_DIR := $(call port_dir,$(REP_DIR)/ports/linux-firmware)
content: ucode_files LICENSE.wifi_drv
.PHONY: ucode_files
ucode_files:
cp $(PORT_DIR)/firmware/*.ucode .
cp $(PORT_DIR)/firmware/*.pnvm .
cp $(PORT_DIR)/firmware/regulatory.db .
cp $(PORT_DIR)/firmware/regulatory.db.p7s .
LICENSE.wifi_drv:
for i in $(PORT_DIR)/firmware/LICEN*E.*; do \
echo "$${i##*/}:" >> $@; \
cat $$i >> $@; \
echo >> $@; \
done