rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | ccflags-y := $(call cc-disable-warning, unused-const-variable) |
| 3 | ccflags-$(CONFIG_PPC_WERROR) += -Werror |
| 4 | |
| 5 | cxl-y += main.o file.o irq.o fault.o native.o |
| 6 | cxl-y += context.o sysfs.o pci.o trace.o |
| 7 | cxl-y += vphb.o phb.o api.o cxllib.o |
| 8 | cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o |
| 9 | cxl-$(CONFIG_DEBUG_FS) += debugfs.o |
| 10 | obj-$(CONFIG_CXL) += cxl.o |
| 11 | obj-$(CONFIG_CXL_BASE) += base.o |
| 12 | |
| 13 | # For tracepoints to include our trace.h from tracepoint infrastructure: |
| 14 | CFLAGS_trace.o := -I$(src) |