c76e96edf6
Clang spuriously warns about some well-defined C99 static initializers. Mute it. X-MFC-With: r353110
22 lines
365 B
Makefile
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
|