1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the OMAP1 framebuffer device driver
4#
5
6obj-$(CONFIG_FB_OMAP) += omapfb.o
7
8ifdef CONFIG_FB_OMAP
9# must be built-in
10obj-y += lcd_dma.o
11endif
12
13objs-yy := omapfb_main.o lcdc.o
14
15objs-y$(CONFIG_FB_OMAP_LCDC_EXTERNAL) += sossi.o
16
17objs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o
18
19lcds-y$(CONFIG_MACH_AMS_DELTA) += lcd_ams_delta.o
20lcds-y$(CONFIG_MACH_OMAP_PALMTE) += lcd_palmte.o
21
22lcds-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o
23
24omapfb-objs := $(objs-yy)
25
26obj-$(CONFIG_FB_OMAP) += $(lcds-yy)
27