genode/repos/dde_linux/recipes/raw/wifi_firmware/content.mk

17 lines
343 B
Makefile
Raw Normal View History

2017-11-13 16:02:50 +00:00
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux)
2018-04-23 13:45:47 +00:00
content: ucode_files LICENSE.wifi_drv
2017-11-13 16:02:50 +00:00
.PHONY: ucode_files
ucode_files:
cp $(PORT_DIR)/firmware/*.ucode .
2018-04-23 13:45:47 +00:00
cp $(PORT_DIR)/firmware/regulatory.db .
2017-11-13 16:02:50 +00:00
2018-04-23 13:45:47 +00:00
LICENSE.wifi_drv:
for i in $(PORT_DIR)/firmware/LICEN*E.*; do \
2017-11-13 16:02:50 +00:00
echo "$${i##*/}:" >> $@; \
cat $$i >> $@; \
echo >> $@; \
done