Makefile (4238973b2ecd84412d78cc72c4ab3bdae064f2e8) Makefile (c27ace2e95a29c3b359123363d4f88864452917d)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6# Common support
7obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
8 serial.o devices.o dma.o fb.o
9obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
10
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5
6# Common support
7obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \
8 serial.o devices.o dma.o fb.o
9obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o
10
11ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),)
11ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),)
12obj-y += mcbsp.o
13endif
14
15obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
16
17# OCPI interconnect support for 1710, 1610 and 5912
18obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
19
20# Power Management
21obj-$(CONFIG_PM) += pm.o sleep.o
22
23i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
24obj-y += $(i2c-omap-m) $(i2c-omap-y)
25
26led-y := leds.o
27
12obj-y += mcbsp.o
13endif
14
15obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
16
17# OCPI interconnect support for 1710, 1610 and 5912
18obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
19
20# Power Management
21obj-$(CONFIG_PM) += pm.o sleep.o
22
23i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
24obj-y += $(i2c-omap-m) $(i2c-omap-y)
25
26led-y := leds.o
27
28usb-fs-$(CONFIG_USB_SUPPORT) := usb.o
28usb-fs-$(CONFIG_USB) := usb.o
29obj-y += $(usb-fs-m) $(usb-fs-y)
30
31# Specific board support
32obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
33 board-nand.o
34obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
35obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
36obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o

--- 27 unchanged lines hidden ---
29obj-y += $(usb-fs-m) $(usb-fs-y)
30
31# Specific board support
32obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o \
33 board-nand.o
34obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
35obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
36obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o board-nand.o

--- 27 unchanged lines hidden ---