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