xref: /openbmc/linux/drivers/rapidio/Makefile (revision b2441318)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2394b701cSMatt Porter#
3394b701cSMatt Porter# Makefile for RapidIO interconnect services
4394b701cSMatt Porter#
5fdf90abcSAlexandre Bounineobj-$(CONFIG_RAPIDIO) += rapidio.o
6fdf90abcSAlexandre Bouninerapidio-y := rio.o rio-access.o rio-driver.o rio-sysfs.o
7fdf90abcSAlexandre Bounine
8a11650e1SAlexandre Bounineobj-$(CONFIG_RAPIDIO_ENUM_BASIC) += rio-scan.o
9b6e8d4aaSAlexandre Bounineobj-$(CONFIG_RAPIDIO_CHMAN)	+= rio_cm.o
10394b701cSMatt Porter
11394b701cSMatt Porterobj-$(CONFIG_RAPIDIO)		+= switches/
1248618fb4SAlexandre Bounineobj-$(CONFIG_RAPIDIO)		+= devices/
13011507e4SAlexandre Bounine
144ebdd58fSmatt mooneysubdir-ccflags-$(CONFIG_RAPIDIO_DEBUG) := -DDEBUG
15