mirror of https://gitee.com/openkylin/linux.git
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
# Common support
|
|
obj-y := io.o id.o sram.o irq.o mux.o flash.o serial.o devices.o
|
|
obj-y += clock.o clock_data.o opp_data.o
|
|
|
|
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
|
|
|
|
obj-$(CONFIG_OMAP_MPU_TIMER) += time.o
|
|
obj-$(CONFIG_OMAP_32K_TIMER) += timer32k.o
|
|
|
|
# Power Management
|
|
obj-$(CONFIG_PM) += pm.o sleep.o
|
|
|
|
# DSP
|
|
obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o
|
|
mailbox_mach-objs := mailbox.o
|
|
|
|
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
|
|
obj-y += $(i2c-omap-m) $(i2c-omap-y)
|
|
|
|
led-y := leds.o
|
|
|
|
# Specific board support
|
|
obj-$(CONFIG_MACH_OMAP_H2) += board-h2.o board-h2-mmc.o
|
|
obj-$(CONFIG_MACH_OMAP_INNOVATOR) += board-innovator.o
|
|
obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o
|
|
obj-$(CONFIG_MACH_OMAP_PERSEUS2) += board-perseus2.o
|
|
obj-$(CONFIG_MACH_OMAP_FSAMPLE) += board-fsample.o
|
|
obj-$(CONFIG_MACH_OMAP_OSK) += board-osk.o
|
|
obj-$(CONFIG_MACH_OMAP_H3) += board-h3.o board-h3-mmc.o
|
|
obj-$(CONFIG_MACH_VOICEBLUE) += board-voiceblue.o
|
|
obj-$(CONFIG_MACH_OMAP_PALMTE) += board-palmte.o
|
|
obj-$(CONFIG_MACH_OMAP_PALMZ71) += board-palmz71.o
|
|
obj-$(CONFIG_MACH_OMAP_PALMTT) += board-palmtt.o
|
|
obj-$(CONFIG_MACH_NOKIA770) += board-nokia770.o
|
|
obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o
|
|
obj-$(CONFIG_MACH_SX1) += board-sx1.o board-sx1-mmc.o
|
|
obj-$(CONFIG_MACH_HERALD) += board-htcherald.o
|
|
|
|
ifeq ($(CONFIG_ARCH_OMAP15XX),y)
|
|
# Innovator-1510 FPGA
|
|
obj-$(CONFIG_MACH_OMAP_INNOVATOR) += fpga.o
|
|
endif
|
|
|
|
# LEDs support
|
|
led-$(CONFIG_MACH_OMAP_H2) += leds-h2p2-debug.o
|
|
led-$(CONFIG_MACH_OMAP_H3) += leds-h2p2-debug.o
|
|
led-$(CONFIG_MACH_OMAP_INNOVATOR) += leds-innovator.o
|
|
led-$(CONFIG_MACH_OMAP_PERSEUS2) += leds-h2p2-debug.o
|
|
led-$(CONFIG_MACH_OMAP_OSK) += leds-osk.o
|
|
obj-$(CONFIG_LEDS) += $(led-y)
|
|
|
|
ifneq ($(CONFIG_FB_OMAP),)
|
|
obj-y += lcd_dma.o
|
|
endif
|