]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/cxgbe/Makefile
Build ofw_bus_if.h for modules that need it on arm64
[FreeBSD/FreeBSD.git] / sys / modules / cxgbe / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 SYSDIR?=${.CURDIR}/../..
6 .include "${SYSDIR}/conf/kern.opts.mk"
7
8 SUBDIR= if_cxgbe
9 SUBDIR+=        if_cxl
10 SUBDIR+=        t4_firmware
11 SUBDIR+=        t5_firmware
12 SUBDIR+=        ${_tom}
13 SUBDIR+=        ${_iw_cxgbe}
14
15 .if ${MACHINE_CPUARCH} == "amd64"
16 _tom=   tom
17 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
18 _iw_cxgbe=      iw_cxgbe
19 .endif
20 .endif
21
22 .if ${MACHINE_CPUARCH} == "i386"
23 _tom=   tom
24 .endif
25
26 .include <bsd.subdir.mk>