genode/repos/dde_linux/lib/mk/iwl_firmware.mk
Christian Helmuth 5230adfd63 wifi: pseudo library to install firmware
The patch prevents linking wifi_drv on each build.
2015-09-09 15:14:29 +02:00

15 lines
373 B
Makefile

#
# Pseudo library to copy Intel Wireless firmware to build directory
#
WIFI_CONTRIB_DIR := $(call select_from_ports,dde_linux)
IMAGES := $(notdir $(wildcard $(WIFI_CONTRIB_DIR)/firmware/*.ucode))
BIN_DIR := $(BUILD_BASE_DIR)/bin
FW_DIR := $(WIFI_CONTRIB_DIR)/firmware
all: $(addprefix $(BIN_DIR)/,$(IMAGES))
$(BIN_DIR)/%.ucode: $(FW_DIR)/%.ucode
$(VERBOSE)cp $^ $@