2015-09-07 10:05:08 +00:00
|
|
|
#
|
|
|
|
# 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))
|
2018-08-09 07:32:56 +00:00
|
|
|
IMAGES += $(notdir $(wildcard $(WIFI_CONTRIB_DIR)/firmware/*.db))
|
2015-09-07 10:05:08 +00:00
|
|
|
BIN_DIR := $(BUILD_BASE_DIR)/bin
|
|
|
|
FW_DIR := $(WIFI_CONTRIB_DIR)/firmware
|
|
|
|
|
2021-03-31 22:36:05 +00:00
|
|
|
CUSTOM_TARGET_DEPS += $(addprefix $(BIN_DIR)/,$(IMAGES))
|
2015-09-07 10:05:08 +00:00
|
|
|
|
|
|
|
$(BIN_DIR)/%.ucode: $(FW_DIR)/%.ucode
|
|
|
|
$(VERBOSE)cp $^ $@
|
2018-01-03 17:40:54 +00:00
|
|
|
|
2018-04-23 13:45:47 +00:00
|
|
|
$(BIN_DIR)/%.db: $(FW_DIR)/%.db
|
|
|
|
$(VERBOSE)cp $^ $@
|
|
|
|
|
|
|
|
|
2018-01-03 17:40:54 +00:00
|
|
|
CC_CXX_WARN_STRICT =
|