xref: /linux-6.15/drivers/Makefile (revision 9ce7677c)
1#
2# Makefile for the Linux kernel device drivers.
3#
4# 15 Sep 2000, Christoph Hellwig <[email protected]>
5# Rewritten to use lists instead of if-statements.
6#
7
8obj-$(CONFIG_PCI)		+= pci/
9obj-$(CONFIG_PARISC)		+= parisc/
10obj-$(CONFIG_RAPIDIO)		+= rapidio/
11obj-y				+= video/
12obj-$(CONFIG_ACPI)		+= acpi/
13# PnP must come after ACPI since it will eventually need to check if acpi
14# was used and do nothing if so
15obj-$(CONFIG_PNP)		+= pnp/
16
17# char/ comes before serial/ etc so that the VT console is the boot-time
18# default.
19obj-y				+= char/
20
21obj-$(CONFIG_CONNECTOR)		+= connector/
22
23# i810fb and intelfb depend on char/agp/
24obj-$(CONFIG_FB_I810)           += video/i810/
25obj-$(CONFIG_FB_INTEL)          += video/intelfb/
26
27# we also need input/serio early so serio bus is initialized by the time
28# serial drivers start registering their serio ports
29obj-$(CONFIG_SERIO)		+= input/serio/
30obj-y				+= serial/
31obj-$(CONFIG_PARPORT)		+= parport/
32obj-y				+= base/ block/ misc/ mfd/ net/ media/
33obj-$(CONFIG_NUBUS)		+= nubus/
34obj-$(CONFIG_ATM)		+= atm/
35obj-$(CONFIG_PPC_PMAC)		+= macintosh/
36obj-$(CONFIG_IDE)		+= ide/
37obj-$(CONFIG_FC4)		+= fc4/
38obj-$(CONFIG_SCSI)		+= scsi/
39obj-$(CONFIG_FUSION)		+= message/
40obj-$(CONFIG_IEEE1394)		+= ieee1394/
41obj-y				+= cdrom/
42obj-$(CONFIG_MTD)		+= mtd/
43obj-$(CONFIG_PCCARD)		+= pcmcia/
44obj-$(CONFIG_DIO)		+= dio/
45obj-$(CONFIG_SBUS)		+= sbus/
46obj-$(CONFIG_ZORRO)		+= zorro/
47obj-$(CONFIG_MAC)		+= macintosh/
48obj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
49obj-$(CONFIG_PARIDE) 		+= block/paride/
50obj-$(CONFIG_TC)		+= tc/
51obj-$(CONFIG_USB)		+= usb/
52obj-$(CONFIG_PCI)		+= usb/
53obj-$(CONFIG_USB_GADGET)	+= usb/gadget/
54obj-$(CONFIG_GAMEPORT)		+= input/gameport/
55obj-$(CONFIG_INPUT)		+= input/
56obj-$(CONFIG_I2O)		+= message/
57obj-$(CONFIG_I2C)		+= i2c/
58obj-$(CONFIG_W1)		+= w1/
59obj-$(CONFIG_HWMON)		+= hwmon/
60obj-$(CONFIG_PHONE)		+= telephony/
61obj-$(CONFIG_MD)		+= md/
62obj-$(CONFIG_BT)		+= bluetooth/
63obj-$(CONFIG_ISDN)		+= isdn/
64obj-$(CONFIG_MCA)		+= mca/
65obj-$(CONFIG_EISA)		+= eisa/
66obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
67obj-$(CONFIG_MMC)		+= mmc/
68obj-$(CONFIG_INFINIBAND)	+= infiniband/
69obj-$(CONFIG_SGI_IOC4)		+= sn/
70obj-y				+= firmware/
71obj-$(CONFIG_CRYPTO)		+= crypto/
72obj-$(CONFIG_SUPERH)		+= sh/
73