genode/repos/dde_linux/recipes/raw/wifi_firmware/content.mk
2018-08-28 16:18:33 +02:00

17 lines
343 B
Makefile

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