1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/dev/rtwn/usb 4 5SYSDIR?=${SRCTOP}/sys 6.include "${SYSDIR}/conf/kern.opts.mk" 7 8KMOD = if_rtwn_usb 9SRCS = rtwn_usb_attach.c rtwn_usb_ep.c rtwn_usb_reg.c rtwn_usb_rx.c \ 10 rtwn_usb_tx.c rtwn_usb_attach.h rtwn_usb_ep.h rtwn_usb_reg.h \ 11 rtwn_usb_rx.h rtwn_usb_tx.h rtwn_usb_var.h \ 12 bus_if.h device_if.h \ 13 opt_bus.h opt_rtwn.h opt_usb.h opt_wlan.h usb_if.h usbdevs.h 14 15.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8188e/usb 16SRCS += r88eu_attach.c r88eu_init.c \ 17 r88eu.h r88eu_reg.h 18 19.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8192c/usb 20SRCS += r92cu_attach.c r92cu_init.c r92cu_led.c r92cu_rx.c r92cu_tx.c \ 21 r92cu.h r92cu_priv.h r92cu_reg.h r92cu_tx_desc.h 22 23.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8192e/usb 24SRCS += r92eu_attach.c r92eu_init.c r92eu.h r92eu_reg.h 25 26.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8812a/usb 27SRCS += r12au_attach.c r12au_init.c r12au_rx.c r12au_tx.c \ 28 r12au.h r12au_reg.h r12au_tx_desc.h 29 30.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8821a/usb 31SRCS += r21au_attach.c r21au_init.c r21au_dfs.c \ 32 r21au.h r21au_reg.h 33 34opt_rtwn.h: 35 @echo "#define RTWN_DEBUG 1" > ${.TARGET} 36.if ${MK_SOURCELESS_UCODE} == "no" 37 @echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET} 38.endif 39 40.include <bsd.kmod.mk> 41