mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
191306531c
This commit remedies the somewhat lazy attempt to address unique names for drivers where the name is directly derived from KBUILD_MODNAME, e.g. rtlwifi, and also modifies the name accordingly to the rules of Linux' build-system. The last part becomes necessary as driver matching tables may rely on that as has already happend with the ti-sn65dsi86 driver.
35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
REQUIRES := x86
|
|
|
|
include $(call select_from_repositories,lib/mk/wifi.inc)
|
|
|
|
TARGET_LIB_DIR := $(REP_DIR)/src/lib/pc_wifi
|
|
|
|
LIBS += pc_linux_generated pc_lx_emul
|
|
|
|
INC_DIR += $(TARGET_LIB_DIR)
|
|
|
|
SRC_CC += dtb_helper_no_dtb.cc
|
|
SRC_C += lx_emul_pci.c
|
|
|
|
SRC_CC += lx_emul/random.cc
|
|
|
|
SRC_C += $(notdir $(wildcard $(TARGET_LIB_DIR)/generated_dummies.c))
|
|
SRC_C += lx_emul/common_dummies.c
|
|
SRC_C += lx_emul/shadow/lib/kobject_uevent.c
|
|
|
|
CC_C_OPT += -I$(LX_SRC_DIR)/drivers/net/wireless/intel/iwlwifi
|
|
CC_C_OPT += -I$(LX_SRC_DIR)/drivers/net/wireless/realtek/rtlwifi
|
|
CC_C_OPT += -I$(LX_SRC_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8188ee
|
|
CC_C_OPT += -I$(LX_SRC_DIR)/drivers/net/wireless/ath/
|
|
CC_C_OPT += -I$(LX_SRC_DIR)/drivers/net/wireless/ath/ath9k
|
|
CC_C_OPT += -I$(LX_SRC_DIR)/include/linux
|
|
|
|
KBUILD_MODNAME_drivers/net/wireless/realtek/rtlwifi/rtl8188ce/sw := rtl8188ce
|
|
KBUILD_MODNAME_drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw := rtl8188ee
|
|
|
|
vpath %.c $(REP_DIR)/src/lib/pc
|
|
vpath %.cc $(REP_DIR)/src/lib/pc
|
|
|
|
vpath %.c $(TARGET_LIB_DIR)
|
|
vpath %.cc $(TARGET_LIB_DIR)
|