| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | ccflags-y := -I$(srctree)/drivers/nvdimm/ |
| 3 | ccflags-y += -I$(srctree)/drivers/acpi/nfit/ |
| 4 | |
| 5 | obj-m += nfit_test.o |
| 6 | obj-m += nfit_test_iomap.o |
| 7 | |
| 8 | ifeq ($(CONFIG_ACPI_NFIT),m) |
| 9 | nfit_test-y := nfit.o |
| 10 | obj-m += ndtest.o |
| 11 | else |
| 12 | nfit_test-y := ndtest.o |
| 13 | endif |
| 14 | nfit_test_iomap-y := iomap.o |