mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 08:51:08 +00:00
33 lines
843 B
Makefile
33 lines
843 B
Makefile
LIB_DIR := $(REP_DIR)/src/lib/wpa_driver_nl80211
|
|
LIB_INC_DIR := $(LIB_DIR)/include
|
|
INC_DIR += $(LIB_INC_DIR)
|
|
|
|
LIBS += libc libnl
|
|
|
|
SHARED_LIB = yes
|
|
LD_OPT += --version-script=$(LIB_DIR)/symbol.map
|
|
|
|
SRC_CC += dummies.cc ioctl.cc
|
|
|
|
WS_CONTRIB_DIR := $(call select_from_ports,dde_linux)/src/app/wpa_supplicant
|
|
|
|
# l2_packet
|
|
SRC_C += src/l2_packet/l2_packet_linux.c
|
|
INC_DIR += $(WS_CONTRIB_DIR)/src/l2_packet
|
|
|
|
# nl80211 driver
|
|
SRC_C_drivers = drivers.c \
|
|
driver_nl80211.c \
|
|
netlink.c \
|
|
rfkill.c
|
|
SRC_C += $(addprefix src/drivers/, $(SRC_C_drivers))
|
|
INC_DIR += $(WS_CONTRIB_DIR)/src/drivers \
|
|
$(WS_CONTRIB_DIR)/src/utils \
|
|
$(WS_CONTRIB_DIR)/src
|
|
|
|
CC_OPT += -DCONFIG_DRIVER_NL80211
|
|
CC_OPT += -DCONFIG_LIBNL20
|
|
|
|
vpath %.c $(WS_CONTRIB_DIR)
|
|
vpath %.cc $(LIB_DIR)
|