1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for the kernel cdrom device drivers.
4 # 30 Jan 1998, Michael Elizabeth Chastain, <mailto:mec@shout.net>
5 # Rewritten to use lists instead of if-statements.
7 # Each configuration option enables a list of files.
9 obj-
$(CONFIG_BLK_DEV_IDECD
) += cdrom.o
10 obj-
$(CONFIG_BLK_DEV_SR
) += cdrom.o
11 obj-
$(CONFIG_PARIDE_PCD
) += cdrom.o
12 obj-
$(CONFIG_CDROM_PKTCDVD
) += cdrom.o
14 obj-
$(CONFIG_GDROM
) += gdrom.o cdrom.o