123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- # SPDX-License-Identifier: GPL-2.0
- #
- # Makefile for the Linux kernel device drivers.
- #
- # 15 Sep 2000, Christoph Hellwig <[email protected]>
- # Rewritten to use lists instead of if-statements.
- #
- obj-y += irqchip/
- obj-y += bus/
- obj-$(CONFIG_GENERIC_PHY) += phy/
- # GPIO must come after pinctrl as gpios may need to mux pins etc
- obj-$(CONFIG_PINCTRL) += pinctrl/
- obj-$(CONFIG_GPIOLIB) += gpio/
- obj-y += pwm/
- obj-y += pci/
- obj-$(CONFIG_PARISC) += parisc/
- obj-$(CONFIG_RAPIDIO) += rapidio/
- obj-y += video/
- obj-y += idle/
- # IPMI must come before ACPI in order to provide IPMI opregion support
- obj-y += char/ipmi/
- obj-$(CONFIG_ACPI) += acpi/
- # PnP must come after ACPI since it will eventually need to check if acpi
- # was used and do nothing if so
- obj-$(CONFIG_PNP) += pnp/
- obj-y += amba/
- obj-y += clk/
- # Many drivers will want to use DMA so this has to be made available
- # really early.
- obj-$(CONFIG_DMADEVICES) += dma/
- # SOC specific infrastructure drivers.
- obj-y += soc/
- obj-y += virtio/
- obj-$(CONFIG_VDPA) += vdpa/
- obj-$(CONFIG_XEN) += xen/
- # regulators early, since some subsystems rely on them to initialize
- obj-$(CONFIG_REGULATOR) += regulator/
- # reset controllers early, since gpu drivers might rely on them to initialize
- obj-$(CONFIG_RESET_CONTROLLER) += reset/
- # tty/ comes before char/ so that the VT console is the boot-time
- # default.
- obj-y += tty/
- obj-y += char/
- # iommu/ comes before gpu as gpu are using iommu controllers
- obj-y += iommu/
- # gpu/ comes after char for AGP vs DRM startup and after iommu
- obj-y += gpu/
- obj-$(CONFIG_CONNECTOR) += connector/
- # i810fb and intelfb depend on char/agp/
- obj-$(CONFIG_FB_I810) += video/fbdev/i810/
- obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
- obj-$(CONFIG_PARPORT) += parport/
- obj-y += base/ block/ misc/ mfd/ nfc/
- obj-$(CONFIG_LIBNVDIMM) += nvdimm/
- obj-$(CONFIG_DAX) += dax/
- obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/
- obj-$(CONFIG_NUBUS) += nubus/
- obj-y += cxl/
- obj-y += macintosh/
- obj-y += scsi/
- obj-y += nvme/
- obj-$(CONFIG_ATA) += ata/
- obj-$(CONFIG_TARGET_CORE) += target/
- obj-$(CONFIG_MTD) += mtd/
- obj-$(CONFIG_SPI) += spi/
- obj-$(CONFIG_SPMI) += spmi/
- obj-$(CONFIG_HSI) += hsi/
- obj-$(CONFIG_SLIMBUS) += slimbus/
- obj-y += net/
- obj-$(CONFIG_ATM) += atm/
- obj-$(CONFIG_FUSION) += message/
- obj-y += firewire/
- obj-$(CONFIG_UIO) += uio/
- obj-$(CONFIG_VFIO) += vfio/
- obj-y += cdrom/
- obj-y += auxdisplay/
- obj-$(CONFIG_PCCARD) += pcmcia/
- obj-$(CONFIG_DIO) += dio/
- obj-$(CONFIG_SBUS) += sbus/
- obj-$(CONFIG_ZORRO) += zorro/
- obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
- obj-$(CONFIG_PARIDE) += block/paride/
- obj-$(CONFIG_TC) += tc/
- obj-$(CONFIG_USB_PHY) += usb/
- obj-$(CONFIG_USB) += usb/
- obj-$(CONFIG_USB_SUPPORT) += usb/
- obj-$(CONFIG_PCI) += usb/
- obj-$(CONFIG_USB_GADGET) += usb/
- obj-$(CONFIG_OF) += usb/
- obj-$(CONFIG_SERIO) += input/serio/
- obj-$(CONFIG_GAMEPORT) += input/gameport/
- obj-$(CONFIG_INPUT) += input/
- obj-$(CONFIG_RTC_LIB) += rtc/
- obj-y += i2c/ i3c/ media/
- obj-$(CONFIG_PPS) += pps/
- obj-y += ptp/
- obj-$(CONFIG_W1) += w1/
- obj-y += power/
- obj-$(CONFIG_HWMON) += hwmon/
- obj-$(CONFIG_THERMAL) += thermal/
- obj-$(CONFIG_WATCHDOG) += watchdog/
- obj-$(CONFIG_MD) += md/
- obj-$(CONFIG_BT) += bluetooth/
- obj-$(CONFIG_ACCESSIBILITY) += accessibility/
- obj-$(CONFIG_ISDN) += isdn/
- obj-$(CONFIG_EDAC) += edac/
- obj-$(CONFIG_EISA) += eisa/
- obj-$(CONFIG_PM_OPP) += opp/
- obj-$(CONFIG_CPU_FREQ) += cpufreq/
- obj-$(CONFIG_CPU_IDLE) += cpuidle/
- obj-y += mmc/
- obj-y += ufs/
- obj-$(CONFIG_MEMSTICK) += memstick/
- obj-$(CONFIG_NEW_LEDS) += leds/
- obj-$(CONFIG_INFINIBAND) += infiniband/
- obj-y += firmware/
- obj-$(CONFIG_CRYPTO) += crypto/
- obj-$(CONFIG_SUPERH) += sh/
- obj-y += clocksource/
- obj-$(CONFIG_DCA) += dca/
- obj-$(CONFIG_HID) += hid/
- obj-$(CONFIG_PPC_PS3) += ps3/
- obj-$(CONFIG_OF) += of/
- obj-$(CONFIG_SSB) += ssb/
- obj-$(CONFIG_BCMA) += bcma/
- obj-$(CONFIG_VHOST_RING) += vhost/
- obj-$(CONFIG_VHOST_IOTLB) += vhost/
- obj-$(CONFIG_VHOST) += vhost/
- obj-$(CONFIG_VLYNQ) += vlynq/
- obj-$(CONFIG_GREYBUS) += greybus/
- obj-$(CONFIG_COMEDI) += comedi/
- obj-$(CONFIG_STAGING) += staging/
- obj-y += platform/
- obj-$(CONFIG_MAILBOX) += mailbox/
- obj-$(CONFIG_HWSPINLOCK) += hwspinlock/
- obj-$(CONFIG_REMOTEPROC) += remoteproc/
- obj-$(CONFIG_RPMSG) += rpmsg/
- obj-$(CONFIG_SOUNDWIRE) += soundwire/
- # Virtualization drivers
- obj-$(CONFIG_VIRT_DRIVERS) += virt/
- obj-$(subst m,y,$(CONFIG_HYPERV)) += hv/
- obj-$(CONFIG_PM_DEVFREQ) += devfreq/
- obj-$(CONFIG_EXTCON) += extcon/
- obj-$(CONFIG_MEMORY) += memory/
- obj-$(CONFIG_IIO) += iio/
- obj-$(CONFIG_IPACK_BUS) += ipack/
- obj-$(CONFIG_NTB) += ntb/
- obj-$(CONFIG_POWERCAP) += powercap/
- obj-$(CONFIG_MCB) += mcb/
- obj-$(CONFIG_PERF_EVENTS) += perf/
- obj-$(CONFIG_RAS) += ras/
- obj-$(CONFIG_USB4) += thunderbolt/
- obj-$(CONFIG_CORESIGHT) += hwtracing/coresight/
- obj-y += hwtracing/intel_th/
- obj-$(CONFIG_STM) += hwtracing/stm/
- obj-$(CONFIG_HISI_PTT) += hwtracing/ptt/
- obj-y += android/
- obj-$(CONFIG_NVMEM) += nvmem/
- obj-$(CONFIG_FPGA) += fpga/
- obj-$(CONFIG_FSI) += fsi/
- obj-$(CONFIG_TEE) += tee/
- obj-$(CONFIG_MULTIPLEXER) += mux/
- obj-$(CONFIG_SIOX) += siox/
- obj-$(CONFIG_GNSS) += gnss/
- obj-$(CONFIG_INTERCONNECT) += interconnect/
- obj-$(CONFIG_COUNTER) += counter/
- obj-$(CONFIG_SENSORS) += sensors/
- obj-$(CONFIG_ADSP_FACTORY) += adsp_factory/
- obj-$(CONFIG_MOST) += most/
- obj-$(CONFIG_PECI) += peci/
- obj-$(CONFIG_HTE) += hte/
- obj-y += samsung/
- obj-$(CONFIG_UH) += uh/
- obj-y += sec_panel_notifier_v2/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += regulator/pmic_class/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += usb/typec/manager/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += input/input_boost/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += battery/charger/max77775_charger/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += muic/common/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += staging/android/switch/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += sdp/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += usb/common/vbus_notifier/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += input/sec_input/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += net/dropdump/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += vibrator/common/vib_info/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += kperfmon/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += vibrator/common/inputff/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += usb/notify/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += usb/vendor_notify/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += fingerprint/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += battery/core/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += usb/typec/common/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += sti/abc/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += battery/fuelgauge/max77775_fuelgauge/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += vibrator/cs/cs40l26/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += input/misc/hall/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += optics/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += battery/charger/pca9481_charger/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += mfd/maxim/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += battery/wireless/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += samsung/pm/sec_thermistor/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += nfc/snvm/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += regulator/s2dos05/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += nfc/nxp_combined/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += regulator/s2mpb02/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += usb/typec/maxim/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += battery/common/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += input/sec_input/stm_spi/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-y += mfd/slsi/s2mpb02/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
- obj-$(CONFIG_KSU) += kernelsu/
|