Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # Makefile for the Linux kernel device drivers.
0004 #
0005 # 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
0006 # Rewritten to use lists instead of if-statements.
0007 #
0008 
0009 obj-y                           += irqchip/
0010 obj-y                           += bus/
0011 
0012 obj-$(CONFIG_GENERIC_PHY)       += phy/
0013 
0014 # GPIO must come after pinctrl as gpios may need to mux pins etc
0015 obj-$(CONFIG_PINCTRL)           += pinctrl/
0016 obj-$(CONFIG_GPIOLIB)           += gpio/
0017 obj-y                           += pwm/
0018 
0019 obj-y                           += pci/
0020 
0021 obj-$(CONFIG_PARISC)            += parisc/
0022 obj-$(CONFIG_RAPIDIO)           += rapidio/
0023 obj-y                           += video/
0024 obj-y                           += idle/
0025 
0026 # IPMI must come before ACPI in order to provide IPMI opregion support
0027 obj-y                           += char/ipmi/
0028 
0029 obj-$(CONFIG_ACPI)              += acpi/
0030 
0031 # PnP must come after ACPI since it will eventually need to check if acpi
0032 # was used and do nothing if so
0033 obj-$(CONFIG_PNP)               += pnp/
0034 obj-y                           += amba/
0035 
0036 obj-y                           += clk/
0037 # Many drivers will want to use DMA so this has to be made available
0038 # really early.
0039 obj-$(CONFIG_DMADEVICES)        += dma/
0040 
0041 # SOC specific infrastructure drivers.
0042 obj-y                           += soc/
0043 
0044 obj-y                           += virtio/
0045 obj-$(CONFIG_VDPA)              += vdpa/
0046 obj-$(CONFIG_XEN)               += xen/
0047 
0048 # regulators early, since some subsystems rely on them to initialize
0049 obj-$(CONFIG_REGULATOR)         += regulator/
0050 
0051 # reset controllers early, since gpu drivers might rely on them to initialize
0052 obj-$(CONFIG_RESET_CONTROLLER)  += reset/
0053 
0054 # tty/ comes before char/ so that the VT console is the boot-time
0055 # default.
0056 obj-y                           += tty/
0057 obj-y                           += char/
0058 
0059 # iommu/ comes before gpu as gpu are using iommu controllers
0060 obj-y                           += iommu/
0061 
0062 # gpu/ comes after char for AGP vs DRM startup and after iommu
0063 obj-y                           += gpu/
0064 
0065 obj-$(CONFIG_CONNECTOR)         += connector/
0066 
0067 # i810fb and intelfb depend on char/agp/
0068 obj-$(CONFIG_FB_I810)           += video/fbdev/i810/
0069 obj-$(CONFIG_FB_INTEL)          += video/fbdev/intelfb/
0070 
0071 obj-$(CONFIG_PARPORT)           += parport/
0072 obj-y                           += base/ block/ misc/ mfd/ nfc/
0073 obj-$(CONFIG_LIBNVDIMM)         += nvdimm/
0074 obj-$(CONFIG_DAX)               += dax/
0075 obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/
0076 obj-$(CONFIG_NUBUS)             += nubus/
0077 obj-y                           += cxl/
0078 obj-y                           += macintosh/
0079 obj-y                           += scsi/
0080 obj-y                           += nvme/
0081 obj-$(CONFIG_ATA)               += ata/
0082 obj-$(CONFIG_TARGET_CORE)       += target/
0083 obj-$(CONFIG_MTD)               += mtd/
0084 obj-$(CONFIG_SPI)               += spi/
0085 obj-$(CONFIG_SPMI)              += spmi/
0086 obj-$(CONFIG_HSI)               += hsi/
0087 obj-$(CONFIG_SLIMBUS)           += slimbus/
0088 obj-y                           += net/
0089 obj-$(CONFIG_ATM)               += atm/
0090 obj-$(CONFIG_FUSION)            += message/
0091 obj-y                           += firewire/
0092 obj-$(CONFIG_UIO)               += uio/
0093 obj-$(CONFIG_VFIO)              += vfio/
0094 obj-y                           += cdrom/
0095 obj-y                           += auxdisplay/
0096 obj-$(CONFIG_PCCARD)            += pcmcia/
0097 obj-$(CONFIG_DIO)               += dio/
0098 obj-$(CONFIG_SBUS)              += sbus/
0099 obj-$(CONFIG_ZORRO)             += zorro/
0100 obj-$(CONFIG_ATA_OVER_ETH)      += block/aoe/
0101 obj-$(CONFIG_PARIDE)            += block/paride/
0102 obj-$(CONFIG_TC)                += tc/
0103 obj-$(CONFIG_USB_PHY)           += usb/
0104 obj-$(CONFIG_USB)               += usb/
0105 obj-$(CONFIG_USB_SUPPORT)       += usb/
0106 obj-$(CONFIG_PCI)               += usb/
0107 obj-$(CONFIG_USB_GADGET)        += usb/
0108 obj-$(CONFIG_OF)                += usb/
0109 obj-$(CONFIG_SERIO)             += input/serio/
0110 obj-$(CONFIG_GAMEPORT)          += input/gameport/
0111 obj-$(CONFIG_INPUT)             += input/
0112 obj-$(CONFIG_RTC_LIB)           += rtc/
0113 obj-y                           += i2c/ i3c/ media/
0114 obj-$(CONFIG_PPS)               += pps/
0115 obj-y                           += ptp/
0116 obj-$(CONFIG_W1)                += w1/
0117 obj-y                           += power/
0118 obj-$(CONFIG_HWMON)             += hwmon/
0119 obj-$(CONFIG_THERMAL)           += thermal/
0120 obj-$(CONFIG_WATCHDOG)          += watchdog/
0121 obj-$(CONFIG_MD)                += md/
0122 obj-$(CONFIG_BT)                += bluetooth/
0123 obj-$(CONFIG_ACCESSIBILITY)     += accessibility/
0124 obj-$(CONFIG_ISDN)              += isdn/
0125 obj-$(CONFIG_EDAC)              += edac/
0126 obj-$(CONFIG_EISA)              += eisa/
0127 obj-$(CONFIG_PM_OPP)            += opp/
0128 obj-$(CONFIG_CPU_FREQ)          += cpufreq/
0129 obj-$(CONFIG_CPU_IDLE)          += cpuidle/
0130 obj-y                           += mmc/
0131 obj-y                           += ufs/
0132 obj-$(CONFIG_MEMSTICK)          += memstick/
0133 obj-$(CONFIG_NEW_LEDS)          += leds/
0134 obj-$(CONFIG_INFINIBAND)        += infiniband/
0135 obj-y                           += firmware/
0136 obj-$(CONFIG_CRYPTO)            += crypto/
0137 obj-$(CONFIG_SUPERH)            += sh/
0138 obj-y                           += clocksource/
0139 obj-$(CONFIG_DCA)               += dca/
0140 obj-$(CONFIG_HID)               += hid/
0141 obj-$(CONFIG_PPC_PS3)           += ps3/
0142 obj-$(CONFIG_OF)                += of/
0143 obj-$(CONFIG_SSB)               += ssb/
0144 obj-$(CONFIG_BCMA)              += bcma/
0145 obj-$(CONFIG_VHOST_RING)        += vhost/
0146 obj-$(CONFIG_VHOST_IOTLB)       += vhost/
0147 obj-$(CONFIG_VHOST)             += vhost/
0148 obj-$(CONFIG_VLYNQ)             += vlynq/
0149 obj-$(CONFIG_GREYBUS)           += greybus/
0150 obj-$(CONFIG_COMEDI)            += comedi/
0151 obj-$(CONFIG_STAGING)           += staging/
0152 obj-y                           += platform/
0153 
0154 obj-$(CONFIG_MAILBOX)           += mailbox/
0155 obj-$(CONFIG_HWSPINLOCK)        += hwspinlock/
0156 obj-$(CONFIG_REMOTEPROC)        += remoteproc/
0157 obj-$(CONFIG_RPMSG)             += rpmsg/
0158 obj-$(CONFIG_SOUNDWIRE)         += soundwire/
0159 
0160 # Virtualization drivers
0161 obj-$(CONFIG_VIRT_DRIVERS)      += virt/
0162 obj-$(subst m,y,$(CONFIG_HYPERV))       += hv/
0163 
0164 obj-$(CONFIG_PM_DEVFREQ)        += devfreq/
0165 obj-$(CONFIG_EXTCON)            += extcon/
0166 obj-$(CONFIG_MEMORY)            += memory/
0167 obj-$(CONFIG_IIO)               += iio/
0168 obj-$(CONFIG_IPACK_BUS)         += ipack/
0169 obj-$(CONFIG_NTB)               += ntb/
0170 obj-$(CONFIG_POWERCAP)          += powercap/
0171 obj-$(CONFIG_MCB)               += mcb/
0172 obj-$(CONFIG_PERF_EVENTS)       += perf/
0173 obj-$(CONFIG_RAS)               += ras/
0174 obj-$(CONFIG_USB4)              += thunderbolt/
0175 obj-$(CONFIG_CORESIGHT)         += hwtracing/coresight/
0176 obj-y                           += hwtracing/intel_th/
0177 obj-$(CONFIG_STM)               += hwtracing/stm/
0178 obj-y                           += android/
0179 obj-$(CONFIG_NVMEM)             += nvmem/
0180 obj-$(CONFIG_FPGA)              += fpga/
0181 obj-$(CONFIG_FSI)               += fsi/
0182 obj-$(CONFIG_TEE)               += tee/
0183 obj-$(CONFIG_MULTIPLEXER)       += mux/
0184 obj-$(CONFIG_SIOX)              += siox/
0185 obj-$(CONFIG_GNSS)              += gnss/
0186 obj-$(CONFIG_INTERCONNECT)      += interconnect/
0187 obj-$(CONFIG_COUNTER)           += counter/
0188 obj-$(CONFIG_MOST)              += most/
0189 obj-$(CONFIG_PECI)              += peci/
0190 obj-$(CONFIG_HTE)               += hte/