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