Makefile 924 字节
Newer Older
1 2 3 4 5
#
# Makefile for the linux kernel.
#

# Common support
6
obj-y := common.o sram.o clock.o devices.o dma.o mux.o gpio.o \
7
	 usb.o fb.o io.o
8 9 10 11 12 13 14
obj-m :=
obj-n :=
obj-  :=

# OCPI interconnect support for 1710, 1610 and 5912
obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o

15 16 17
# omap_device support (OMAP2+ only at the moment)
obj-$(CONFIG_ARCH_OMAP2) += omap_device.o
obj-$(CONFIG_ARCH_OMAP3) += omap_device.o
18
obj-$(CONFIG_ARCH_OMAP4) += omap_device.o
19

20
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
21
obj-$(CONFIG_OMAP_IOMMU) += iommu.o iovmm.o
22
obj-$(CONFIG_OMAP_IOMMU_DEBUG) += iommu-debug.o
23

24
obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
25
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
26
obj-$(CONFIG_OMAP_DEBUG_DEVICES) += debug-devices.o
27
obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
28 29
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
obj-y += $(i2c-omap-m) $(i2c-omap-y)
30 31 32 33

# OMAP mailbox framework
obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox.o

34
obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o