Makefile 4.47 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6 7
#
# Makefile for the Linux kernel device drivers.
#
# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#

8
obj-y				+= irqchip/
9
obj-y				+= bus/
10
obj-$(CONFIG_GENERIC_PHY)       += phy/
11

12 13
# GPIO must come after pinctrl as gpios may need to mux pins etc
obj-y				+= pinctrl/
14
obj-y				+= gpio/
15
obj-y				+= pwm/
16
obj-$(CONFIG_PCI)		+= pci/
Linus Torvalds's avatar
Linus Torvalds committed
17
obj-$(CONFIG_PARISC)		+= parisc/
18
obj-$(CONFIG_RAPIDIO)		+= rapidio/
Linus Torvalds's avatar
Linus Torvalds committed
19
obj-y				+= video/
20
obj-y				+= idle/
21 22 23 24

# IPMI must come before ACPI in order to provide IPMI opregion support
obj-$(CONFIG_IPMI_HANDLER)	+= char/ipmi/

25
obj-$(CONFIG_ACPI)		+= acpi/
26
obj-$(CONFIG_SFI)		+= sfi/
Linus Torvalds's avatar
Linus Torvalds committed
27 28 29
# 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/
30
obj-y				+= amba/
31 32
# Many drivers will want to use DMA so this has to be made available
# really early.
33
obj-$(CONFIG_DMADEVICES)	+= dma/
Linus Torvalds's avatar
Linus Torvalds committed
34

35
obj-$(CONFIG_VIRTIO)		+= virtio/
36 37
obj-$(CONFIG_XEN)		+= xen/

38 39 40
# regulators early, since some subsystems rely on them to initialize
obj-$(CONFIG_REGULATOR)		+= regulator/

41 42 43
# reset controllers early, since gpu drivers might rely on them to initialize
obj-$(CONFIG_RESET_CONTROLLER)	+= reset/

44
# tty/ comes before char/ so that the VT console is the boot-time
Linus Torvalds's avatar
Linus Torvalds committed
45
# default.
46
obj-y				+= tty/
Linus Torvalds's avatar
Linus Torvalds committed
47 48
obj-y				+= char/

49 50 51
# gpu/ comes after char for AGP vs DRM startup
obj-y				+= gpu/

52 53
obj-$(CONFIG_CONNECTOR)		+= connector/

Linus Torvalds's avatar
Linus Torvalds committed
54 55 56 57 58
# i810fb and intelfb depend on char/agp/
obj-$(CONFIG_FB_I810)           += video/i810/
obj-$(CONFIG_FB_INTEL)          += video/intelfb/

obj-$(CONFIG_PARPORT)		+= parport/
59
obj-y				+= base/ block/ misc/ mfd/ nfc/
Linus Torvalds's avatar
Linus Torvalds committed
60
obj-$(CONFIG_NUBUS)		+= nubus/
61
obj-y				+= macintosh/
Linus Torvalds's avatar
Linus Torvalds committed
62 63
obj-$(CONFIG_IDE)		+= ide/
obj-$(CONFIG_SCSI)		+= scsi/
64
obj-$(CONFIG_ATA)		+= ata/
65
obj-$(CONFIG_TARGET_CORE)	+= target/
66 67
obj-$(CONFIG_MTD)		+= mtd/
obj-$(CONFIG_SPI)		+= spi/
68
obj-y				+= hsi/
69 70
obj-y				+= net/
obj-$(CONFIG_ATM)		+= atm/
Linus Torvalds's avatar
Linus Torvalds committed
71
obj-$(CONFIG_FUSION)		+= message/
72
obj-y				+= firewire/
73
obj-$(CONFIG_UIO)		+= uio/
Alex Williamson's avatar
Alex Williamson committed
74
obj-$(CONFIG_VFIO)		+= vfio/
Linus Torvalds's avatar
Linus Torvalds committed
75
obj-y				+= cdrom/
76
obj-y				+= auxdisplay/
Linus Torvalds's avatar
Linus Torvalds committed
77 78 79 80 81 82 83 84
obj-$(CONFIG_PCCARD)		+= pcmcia/
obj-$(CONFIG_DIO)		+= dio/
obj-$(CONFIG_SBUS)		+= sbus/
obj-$(CONFIG_ZORRO)		+= zorro/
obj-$(CONFIG_MAC)		+= macintosh/
obj-$(CONFIG_ATA_OVER_ETH)	+= block/aoe/
obj-$(CONFIG_PARIDE) 		+= block/paride/
obj-$(CONFIG_TC)		+= tc/
85
obj-$(CONFIG_UWB)		+= uwb/
86
obj-$(CONFIG_USB_PHY)		+= usb/
Linus Torvalds's avatar
Linus Torvalds committed
87
obj-$(CONFIG_USB)		+= usb/
88
obj-$(CONFIG_PCI)		+= usb/
89
obj-$(CONFIG_USB_GADGET)	+= usb/
90
obj-$(CONFIG_SERIO)		+= input/serio/
Linus Torvalds's avatar
Linus Torvalds committed
91 92 93
obj-$(CONFIG_GAMEPORT)		+= input/gameport/
obj-$(CONFIG_INPUT)		+= input/
obj-$(CONFIG_I2O)		+= message/
94
obj-$(CONFIG_RTC_LIB)		+= rtc/
95
obj-y				+= i2c/ media/
96
obj-$(CONFIG_PPS)		+= pps/
97
obj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
Linus Torvalds's avatar
Linus Torvalds committed
98
obj-$(CONFIG_W1)		+= w1/
99
obj-$(CONFIG_POWER_SUPPLY)	+= power/
100
obj-$(CONFIG_HWMON)		+= hwmon/
101
obj-$(CONFIG_THERMAL)		+= thermal/
102
obj-$(CONFIG_WATCHDOG)		+= watchdog/
Linus Torvalds's avatar
Linus Torvalds committed
103 104
obj-$(CONFIG_MD)		+= md/
obj-$(CONFIG_BT)		+= bluetooth/
105
obj-$(CONFIG_ACCESSIBILITY)	+= accessibility/
Linus Torvalds's avatar
Linus Torvalds committed
106
obj-$(CONFIG_ISDN)		+= isdn/
107
obj-$(CONFIG_EDAC)		+= edac/
Linus Torvalds's avatar
Linus Torvalds committed
108
obj-$(CONFIG_EISA)		+= eisa/
109
obj-y				+= lguest/
Linus Torvalds's avatar
Linus Torvalds committed
110
obj-$(CONFIG_CPU_FREQ)		+= cpufreq/
111
obj-$(CONFIG_CPU_IDLE)		+= cpuidle/
112
obj-y				+= mmc/
113
obj-$(CONFIG_MEMSTICK)		+= memstick/
114
obj-y				+= leds/
Mauro Ribeiro's avatar
Mauro Ribeiro committed
115
obj-$(CONFIG_SWITCH)		+= switch/
Linus Torvalds's avatar
Linus Torvalds committed
116
obj-$(CONFIG_INFINIBAND)	+= infiniband/
117
obj-$(CONFIG_SGI_SN)		+= sn/
Linus Torvalds's avatar
Linus Torvalds committed
118 119
obj-y				+= firmware/
obj-$(CONFIG_CRYPTO)		+= crypto/
120
obj-$(CONFIG_SUPERH)		+= sh/
121
obj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
122
obj-$(CONFIG_SSBI)		+= ssbi/
123 124 125
ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
obj-y				+= clocksource/
endif
126
obj-$(CONFIG_DCA)		+= dca/
127
obj-$(CONFIG_HID)		+= hid/
128
obj-$(CONFIG_PPC_PS3)		+= ps3/
129
obj-$(CONFIG_OF)		+= of/
130
obj-$(CONFIG_SSB)		+= ssb/
131
obj-$(CONFIG_BCMA)		+= bcma/
132
obj-$(CONFIG_VHOST_RING)	+= vhost/
133
obj-$(CONFIG_VLYNQ)		+= vlynq/
134
obj-$(CONFIG_STAGING)		+= staging/
135
obj-y				+= platform/
136 137
#common clk code
obj-y				+= clk/
138

139
obj-$(CONFIG_MAILBOX)		+= mailbox/
140
obj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/
141
obj-$(CONFIG_NFC)		+= nfc/
142
obj-$(CONFIG_IOMMU_SUPPORT)	+= iommu/
143
obj-$(CONFIG_REMOTEPROC)	+= remoteproc/
144
obj-$(CONFIG_RPMSG)		+= rpmsg/
145 146 147

# Virtualization drivers
obj-$(CONFIG_VIRT_DRIVERS)	+= virt/
148
obj-$(CONFIG_HYPERV)		+= hv/
149 150

obj-$(CONFIG_PM_DEVFREQ)	+= devfreq/
151
obj-$(CONFIG_EXTCON)		+= extcon/
152
obj-$(CONFIG_MEMORY)		+= memory/
153
obj-$(CONFIG_IIO)		+= iio/
154
obj-$(CONFIG_VME_BUS)		+= vme/
155
obj-$(CONFIG_IPACK_BUS)		+= ipack/
156
obj-$(CONFIG_NTB)		+= ntb/
Mauro Ribeiro's avatar
Mauro Ribeiro committed
157 158 159 160 161

# Mobicore driver
obj-$(CONFIG_MOBICORE_DRIVER)   += gud/
# Hardkernel Specific
obj-$(CONFIG_MACH_ODROIDXU3)	+= hardkernel/