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