diff options
| author | Paul Walmsley <paul@pwsan.com> | 2012-09-11 21:09:13 -0400 |
|---|---|---|
| committer | Paul Walmsley <paul@pwsan.com> | 2012-09-11 21:09:13 -0400 |
| commit | fcbde335fe532feb80f052ef41ccb499476df064 (patch) | |
| tree | 7780083b20756e4397f73f2a92178162a4ecea71 | |
| parent | 032c1bbe9b1d93010b63f142752572f1e181ee34 (diff) | |
ARM: OMAP2+: clean up omap_hwmod.o build directives in Makefile
Move the omap_hwmod_common_data.o build directive down to the hwmod
data Makefile section where it belongs. Move the omap_hwmod.o build
directive to the top 'Common support' line, since we have no separate
hwmod code Makefile section, and it's currently needed for all OMAP2+.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
| -rw-r--r-- | arch/arm/mach-omap2/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 22ee34077c01..bdcf50805a89 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
| @@ -4,20 +4,18 @@ | |||
| 4 | 4 | ||
| 5 | # Common support | 5 | # Common support |
| 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ |
| 7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o | 7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o |
| 8 | 8 | ||
| 9 | omap-2-3-common = irq.o | 9 | omap-2-3-common = irq.o |
| 10 | hwmod-common = omap_hwmod.o \ | ||
| 11 | omap_hwmod_common_data.o | ||
| 12 | clock-common = clock.o clock_common_data.o \ | 10 | clock-common = clock.o clock_common_data.o \ |
| 13 | clkt_dpll.o clkt_clksel.o | 11 | clkt_dpll.o clkt_clksel.o |
| 14 | secure-common = omap-smc.o omap-secure.o | 12 | secure-common = omap-smc.o omap-secure.o |
| 15 | 13 | ||
| 16 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) | 14 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) |
| 17 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) | 15 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(secure-common) |
| 18 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common) | 16 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(secure-common) |
| 19 | obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) | 17 | obj-$(CONFIG_SOC_AM33XX) += irq.o |
| 20 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common) | 18 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(secure-common) |
| 21 | 19 | ||
| 22 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) | 20 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
| 23 | obj-y += mcbsp.o | 21 | obj-y += mcbsp.o |
| @@ -181,6 +179,7 @@ obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o | |||
| 181 | obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o | 179 | obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o |
| 182 | 180 | ||
| 183 | # hwmod data | 181 | # hwmod data |
| 182 | obj-y += omap_hwmod_common_data.o | ||
| 184 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o | 183 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o |
| 185 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o | 184 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
| 186 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o | 185 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o |
