xref: /linux/tools/testing/nvdimm/test/Kbuild (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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
10	obj-m += ndtest.o
11else
12	nfit_test-y := ndtest.o
13endif
14nfit_test_iomap-y := iomap.o
15