xref: /linux/tools/testing/cxl/test/Kbuild (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1# SPDX-License-Identifier: GPL-2.0
2ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
3
4obj-m += cxl_test.o
5obj-m += cxl_mock.o
6obj-m += cxl_mock_mem.o
7
8cxl_test-y := cxl.o
9cxl_mock-y := mock.o
10cxl_mock_mem-y := mem.o
11
12KBUILD_CFLAGS := $(filter-out -Wmissing-prototypes -Wmissing-declarations, $(KBUILD_CFLAGS))
13