xref: /linux/drivers/cdx/Makefile (revision eb65f96cb332d577b490ab9c9f5f8de8c0316076)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for CDX
4#
5# Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
6#
7
8ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=CDX_BUS
9
10obj-$(CONFIG_CDX_BUS) += cdx.o controller/
11
12ifdef CONFIG_GENERIC_MSI_IRQ
13obj-$(CONFIG_CDX_BUS) += cdx_msi.o
14endif
15