Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Brian Norris | 57f7c39 | 2016-01-08 10:30:10 -0800 | [diff] [blame] | 2 | ccflags-y := $(call cc-disable-warning, unused-const-variable) |
| 3 | ccflags-$(CONFIG_PPC_WERROR) += -Werror |
Daniel Axtens | d3d73f4 | 2015-08-07 13:18:17 +1000 | [diff] [blame] | 4 | |
Michael Neuling | 406e12e | 2015-05-27 16:07:15 +1000 | [diff] [blame] | 5 | cxl-y += main.o file.o irq.o fault.o native.o |
Andrew Donnellan | 39d4087 | 2017-02-01 14:22:07 +1100 | [diff] [blame] | 6 | cxl-y += context.o sysfs.o pci.o trace.o |
Frederic Barrat | f18a4e1 | 2018-06-28 12:05:08 +0200 | [diff] [blame] | 7 | cxl-y += vphb.o api.o cxllib.o |
Christophe Lombard | 594ff7d | 2016-03-04 12:26:38 +0100 | [diff] [blame] | 8 | cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o |
Andrew Donnellan | 39d4087 | 2017-02-01 14:22:07 +1100 | [diff] [blame] | 9 | cxl-$(CONFIG_DEBUG_FS) += debugfs.o |
Ian Munsie | 881632c | 2014-10-08 19:55:04 +1100 | [diff] [blame] | 10 | obj-$(CONFIG_CXL) += cxl.o |
Ian Munsie | 10542ca | 2014-10-08 19:55:01 +1100 | [diff] [blame] | 11 | obj-$(CONFIG_CXL_BASE) += base.o |
Ian Munsie | 9bcf28c | 2015-01-09 20:34:36 +1100 | [diff] [blame] | 12 | |
| 13 | # For tracepoints to include our trace.h from tracepoint infrastructure: |
| 14 | CFLAGS_trace.o := -I$(src) |