mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 20:35:03 +01:00
r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files.
35 lines
907 B
Makefile
35 lines
907 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/bwn
|
|
|
|
KMOD= if_bwn
|
|
SRCS= if_bwn.c if_bwnreg.h if_bwnvar.h
|
|
SRCS+= if_bwn_util.c
|
|
|
|
# PHY
|
|
SRCS+= if_bwn_phy_common.c
|
|
SRCS+= if_bwn_phy_g.c if_bwn_phy_lp.c
|
|
SRCS+= if_bwn_phy_n.c
|
|
|
|
# Other
|
|
SRCS+= device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h
|
|
|
|
# Uncomment this for the GPL PHY code; this requires the
|
|
# module be built with BWN_GPL_PHY set in the kernel
|
|
# configuration.
|
|
|
|
#.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
|
|
#SRCS+= if_bwn_radio_2055.c
|
|
#SRCS+= if_bwn_radio_2056.c
|
|
#SRCS+= if_bwn_radio_2057.c
|
|
#SRCS+= if_bwn_phy_n_tables.c
|
|
#SRCS+= if_bwn_phy_n_ppr.c
|
|
#SRCS+= if_bwn_phy_n_core.c
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
# XXX Work around clang warnings, until maintainer approves fix.
|
|
CWARNFLAGS.if_bwn.c= ${NO_WSOMETIMES_UNINITIALIZED}
|
|
CWARNFLAGS.if_bwn_phy_g.c= ${NO_WSOMETIMES_UNINITIALIZED} ${NO_WCONSTANT_CONVERSION}
|
|
CWARNFLAGS.if_bwn_phy_lp.c= ${NO_WSOMETIMES_UNINITIALIZED}
|