diff options
author | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:08:36 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:08:36 -0400 |
commit | a9a418d4553290b824f95df65bd20097d7691233 (patch) | |
tree | 84ed73053d487f5ca466504c4c5a0e45a9381699 /arch | |
parent | eb0d0ee1c256492edd56e55c2704bbb1fe1d8bc0 (diff) |
ARM: OMAP2/3: Reorganize Makefile to add omap4 support
We don't necessarily want to compile in irq.o and sdrc.o for omap4.
Also, clock and prcm may not be implemented initially.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index c49d9bfa3abd..bf3827ae2c5f 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -3,9 +3,14 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | # Common support | 5 | # Common support |
6 | obj-y := irq.o id.o io.o sdrc.o control.o prcm.o clock.o mux.o \ | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o |
7 | devices.o serial.o gpmc.o timer-gp.o powerdomain.o \ | 7 | |
8 | clockdomain.o | 8 | omap-2-3-common = irq.o sdrc.o |
9 | prcm-common = prcm.o powerdomain.o | ||
10 | clock-common = clock.o clockdomain.o | ||
11 | |||
12 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(prcm-common) $(clock-common) | ||
13 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(prcm-common) $(clock-common) | ||
9 | 14 | ||
10 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o | 15 | obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o |
11 | 16 | ||