xref: /linux/tools/testing/nvdimm/test/Kbuild (revision c02ce1735b150cf7c3b43790b48e23dcd17c0d46)
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