Makefile (f31cc9622d75c1c6f041d786698daa425c0425c2) Makefile (fd1478cd61624479c89e35602925459d74505ff3)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o \
7 common.o gpio.o dma.o
7 common.o gpio.o
8
9omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o
10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o
12prcm-common = prcm.o powerdomain.o
13clock-common = clock.o clock_common_data.o \
14 clockdomain.o clkt_dpll.o \
15 clkt_clksel.o

--- 5 unchanged lines hidden (view full) ---

21obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
22
23# SMP support ONLY available for OMAP4
24obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
25obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
26obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
27obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o
28
8
9omap-2-3-common = irq.o sdrc.o prm2xxx_3xxx.o
10hwmod-common = omap_hwmod.o \
11 omap_hwmod_common_data.o
12prcm-common = prcm.o powerdomain.o
13clock-common = clock.o clock_common_data.o \
14 clockdomain.o clkt_dpll.o \
15 clkt_clksel.o

--- 5 unchanged lines hidden (view full) ---

21obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
22
23# SMP support ONLY available for OMAP4
24obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o
25obj-$(CONFIG_LOCAL_TIMERS) += timer-mpu.o
26obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o
27obj-$(CONFIG_ARCH_OMAP4) += omap44xx-smc.o omap4-common.o
28
29AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a
30AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a
29plus_sec := $(call as-instr,.arch_extension sec,+sec)
30AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec)
31AFLAGS_omap44xx-smc.o :=-Wa,-march=armv7-a$(plus_sec)
31
32# Functions loaded to SRAM
33obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
34obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
35obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
36
37AFLAGS_sram242x.o :=-Wa,-march=armv6
38AFLAGS_sram243x.o :=-Wa,-march=armv6

--- 4 unchanged lines hidden (view full) ---

43obj-$(CONFIG_ARCH_OMAP2430) += mux2430.o
44obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
45obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
46
47# SMS/SDRC
48obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
49# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
50
32
33# Functions loaded to SRAM
34obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o
35obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o
36obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
37
38AFLAGS_sram242x.o :=-Wa,-march=armv6
39AFLAGS_sram243x.o :=-Wa,-march=armv6

--- 4 unchanged lines hidden (view full) ---

44obj-$(CONFIG_ARCH_OMAP2430) += mux2430.o
45obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
46obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
47
48# SMS/SDRC
49obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o
50# obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o
51
52# OPP table initialization
53ifeq ($(CONFIG_PM_OPP),y)
54obj-y += opp.o
55obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o
56endif
57
51# Power Management
52ifeq ($(CONFIG_PM),y)
53obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
54obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o pm_bus.o
55obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o pm_bus.o
56obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o pm_bus.o
57obj-$(CONFIG_PM_DEBUG) += pm-debug.o
58

--- 144 unchanged lines hidden ---
58# Power Management
59ifeq ($(CONFIG_PM),y)
60obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
61obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o pm_bus.o
62obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o pm_bus.o
63obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o pm_bus.o
64obj-$(CONFIG_PM_DEBUG) += pm-debug.o
65

--- 144 unchanged lines hidden ---