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