xref: /linux/tools/testing/cxl/test/Kbuild (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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