xref: /openbmc/linux/drivers/pnp/Makefile (revision ed458df4)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux Plug-and-Play Support.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5ed458df4SLinus Torvaldsobj-y		:= core.o card.o driver.o resource.o manager.o support.o interface.o quirks.o
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsobj-$(CONFIG_PNPACPI)		+= pnpacpi/
81da177e4SLinus Torvaldsobj-$(CONFIG_PNPBIOS)		+= pnpbios/
91da177e4SLinus Torvaldsobj-$(CONFIG_ISAPNP)		+= isapnp/
10a05d0781SBjorn Helgaas
11ed458df4SLinus Torvalds# pnp_system_init goes after pnpacpi/pnpbios init
12ed458df4SLinus Torvaldsobj-y				+= system.o
13ed458df4SLinus Torvalds
14a05d0781SBjorn Helgaasifeq ($(CONFIG_PNP_DEBUG),y)
15a05d0781SBjorn HelgaasEXTRA_CFLAGS += -DDEBUG
16a05d0781SBjorn Helgaasendif
17