mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 23:42:32 +00:00
e7e7893f22
The driver falls in line with the previous 'legacy_wifi_drv' component where the ported wireless LAN stack and device driver is encapsulated in a library. This library in return is used by the 'Libc::Component' providing the necessary environment for the 'wpa_supplicant'. In constrast to the old driver a 'wifi' VFS plugin is in charge of initalizing the 'Lx_kit::Env' prior to executing any static constructors. Fixes #4455.
25 lines
648 B
Makefile
25 lines
648 B
Makefile
#
|
|
# Pseudo library to copy wireless LAN firmware to build directory
|
|
#
|
|
|
|
FW_CONTRIB_DIR := $(call select_from_ports,linux-firmware)
|
|
|
|
IMAGES := $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.ucode))
|
|
IMAGES += $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.db))
|
|
IMAGES += $(notdir $(wildcard $(FW_CONTRIB_DIR)/firmware/*.p7s))
|
|
BIN_DIR := $(BUILD_BASE_DIR)/bin
|
|
FW_DIR := $(FW_CONTRIB_DIR)/firmware
|
|
|
|
CUSTOM_TARGET_DEPS += $(addprefix $(BIN_DIR)/,$(IMAGES))
|
|
|
|
$(BIN_DIR)/%.ucode: $(FW_DIR)/%.ucode
|
|
$(VERBOSE)cp $^ $@
|
|
|
|
$(BIN_DIR)/%.db: $(FW_DIR)/%.db
|
|
$(VERBOSE)cp $^ $@
|
|
|
|
$(BIN_DIR)/%.p7s: $(FW_DIR)/%.p7s
|
|
$(VERBOSE)cp $^ $@
|
|
|
|
CC_CXX_WARN_STRICT =
|