xref: /openbmc/linux/tools/testing/nvdimm/test/Kbuild (revision f3d7c2cd)
1# SPDX-License-Identifier: GPL-2.0
2ccflags-y := -I$(srctree)/drivers/nvdimm/
3ccflags-y += -I$(srctree)/drivers/acpi/nfit/
4
5obj-m += nfit_test.o
6obj-m += nfit_test_iomap.o
7
8ifeq  ($(CONFIG_ACPI_NFIT),m)
9	nfit_test-y := nfit.o
10else
11	nfit_test-y := ndtest.o
12endif
13nfit_test_iomap-y := iomap.o
14