xref: /linux/drivers/cdx/Makefile (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
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