27 lines
763 B
Makefile
27 lines
763 B
Makefile
|
# $FreeBSD$
|
||
|
|
||
|
.PATH: ${.CURDIR}/../../dev/rtwn/pci
|
||
|
|
||
|
SYSDIR?=${.CURDIR}/../..
|
||
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
||
|
|
||
|
KMOD = if_rtwn_pci
|
||
|
SRCS = rtwn_pci_attach.c rtwn_pci_reg.c rtwn_pci_rx.c rtwn_pci_tx.c \
|
||
|
rtwn_pci_attach.h rtwn_pci_reg.h rtwn_pci_rx.h rtwn_pci_tx.h \
|
||
|
rtwn_pci_var.h \
|
||
|
device_if.h bus_if.h pci_if.h \
|
||
|
opt_bus.h opt_rtwn.h opt_wlan.h
|
||
|
|
||
|
.PATH: ${.CURDIR}/../../dev/rtwn/rtl8192c/pci
|
||
|
SRCS += r92ce_attach.c r92ce_calib.c r92ce_fw.c r92ce_init.c r92ce_led.c \
|
||
|
r92ce_rx.c r92ce_tx.c \
|
||
|
r92ce.h r92ce_priv.h r92ce_reg.h r92ce_rx_desc.h r92ce_tx_desc.h
|
||
|
|
||
|
opt_rtwn.h:
|
||
|
@echo "#define RTWN_DEBUG 1" > ${.TARGET}
|
||
|
.if ${MK_SOURCELESS_UCODE} == "no"
|
||
|
@echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET}
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.kmod.mk>
|