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