Makefile (68fc5990b8be229274964a22547c7e078342bad1) Makefile (133ad7ab7005dc951fb66d3de9e29a8259fe9744)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6ccflags-y := -I$(srctree)/$(src)/include \
7 -I$(srctree)/arch/arm/plat-omap/include
8
9# Common support
10obj-y := id.o io.o control.o devices.o fb.o pm.o \
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6ccflags-y := -I$(srctree)/$(src)/include \
7 -I$(srctree)/arch/arm/plat-omap/include
8
9# Common support
10obj-y := id.o io.o control.o devices.o fb.o pm.o \
11 common.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \
12 omap_device.o omap-headsmp.o sram.o
11 common.o dma.o omap-headsmp.o sram.o
13
14hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
12
13hwmod-common = omap_hwmod.o omap_hwmod_reset.o \
15 omap_hwmod_common_data.o
14 omap_hwmod_common_data.o \
15 omap_hwmod_common_ipblock_data.o \
16 omap_device.o display.o hdq1w.o \
17 i2c.o wd_timer.o
16clock-common = clock.o
17secure-common = omap-smc.o omap-secure.o
18
19obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
20obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
21obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common)
18clock-common = clock.o
19secure-common = omap-smc.o omap-secure.o
20
21obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common)
22obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common)
23obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common)
22obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common) $(secure-common)
24obj-$(CONFIG_SOC_AM33XX) += $(secure-common)
23obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common)
24obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common)
25obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common)
26
27ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),)
28obj-y += mcbsp.o
29endif
30

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

189obj-$(CONFIG_SOC_DRA7XX) += $(clock-common)
190obj-$(CONFIG_SOC_AM43XX) += $(clock-common)
191
192# OMAP2 clock rate set data (old "OPP" data)
193obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
194obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
195
196# hwmod data
25obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common)
26obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common)
27obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common)
28
29ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),)
30obj-y += mcbsp.o
31endif
32

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

191obj-$(CONFIG_SOC_DRA7XX) += $(clock-common)
192obj-$(CONFIG_SOC_AM43XX) += $(clock-common)
193
194# OMAP2 clock rate set data (old "OPP" data)
195obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
196obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
197
198# hwmod data
197obj-y += omap_hwmod_common_ipblock_data.o
198obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
199obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
200obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
201obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
202obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o
203obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o
204obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o
205obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
206obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
207obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
199obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o
200obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o
201obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o
202obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o
203obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o
204obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o
205obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o
206obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o
207obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o
208obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o
208obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_interconnect_data.o
209obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_ipblock_data.o
210obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_43xx_data.o
211obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_interconnect_data.o
212obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_ipblock_data.o
213obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o
214obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
215obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o
216obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o
217

--- 22 unchanged lines hidden ---
209obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_43xx_data.o
210obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_interconnect_data.o
211obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_ipblock_data.o
212obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o
213obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o
214obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o
215obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o
216

--- 22 unchanged lines hidden ---