freebsd-dev/sys/modules/nvdimm/Makefile
Conrad Meyer c76e96edf6 nvdimm(4): Fix Clang build after r353110
Clang spuriously warns about some well-defined C99 static initializers.
Mute it.

X-MFC-With:	r353110
2019-10-04 21:47:09 +00:00

22 lines
365 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/nvdimm
KMOD= nvdimm
SRCS= nvdimm.c \
nvdimm_acpi.c \
nvdimm_e820.c \
nvdimm_nfit.c \
nvdimm_ns.c \
nvdimm_spa.c
SRCS+= acpi_if.h bus_if.h device_if.h
SRCS+= opt_acpi.h opt_ddb.h
.include <bsd.kmod.mk>
# Mute spurious Clang warning.
.if ${COMPILER_TYPE} == "clang"
CWARNFLAGS.nvdimm_e820.c+= -Wno-missing-braces
.endif