xref: /openbmc/linux/arch/arm/mach-omap2/Makefile (revision cc26b3b0)
11dbae815STony Lindgren#
21dbae815STony Lindgren# Makefile for the linux kernel.
31dbae815STony Lindgren#
41dbae815STony Lindgren
51dbae815STony Lindgren# Common support
6c2d43e39STony Lindgrenobj-y := irq.o id.o io.o memory.o control.o prcm.o clock.o mux.o \
7d459bfe0SPaul Walmsley		devices.o serial.o gpmc.o timer-gp.o powerdomain.o \
8d459bfe0SPaul Walmsley		clockdomain.o
91dbae815STony Lindgren
1078673bc8SEduardo Valentinobj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
1178673bc8SEduardo Valentin
12c2d43e39STony Lindgren# Functions loaded to SRAM
13c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2420)		+= sram242x.o
14c2d43e39STony Lindgrenobj-$(CONFIG_ARCH_OMAP2430)		+= sram243x.o
15cc26b3b0SSyed Mohammed, Khasimobj-$(CONFIG_ARCH_OMAP3)		+= sram34xx.o
16c2d43e39STony Lindgren
17120db2cbSTony Lindgren# Power Management
181835f1d7STony Lindgrenifeq ($(CONFIG_PM),y)
191835f1d7STony Lindgrenobj-y					+= pm.o
201835f1d7STony Lindgrenobj-$(CONFIG_ARCH_OMAP24XX)		+= sleep24xx.o
211835f1d7STony Lindgrenendif
22120db2cbSTony Lindgren
233d876e59SPaul Walmsley# Clock framework
243d876e59SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP2)		+= clock24xx.o
2502e19a96SPaul Walmsleyobj-$(CONFIG_ARCH_OMAP3)		+= clock34xx.o
263d876e59SPaul Walmsley
271dbae815STony Lindgren# Specific board support
281dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_GENERIC)		+= board-generic.o
291dbae815STony Lindgrenobj-$(CONFIG_MACH_OMAP_H4)		+= board-h4.o
3072d0f1c3SSyed Mohammed Khasimobj-$(CONFIG_MACH_OMAP_2430SDP)		+= board-2430sdp.o
31120db2cbSTony Lindgrenobj-$(CONFIG_MACH_OMAP_APOLLON)		+= board-apollon.o
321dbae815STony Lindgren
33