xref: /openbmc/linux/drivers/video/fbdev/omap/Makefile (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2f7018c21STomi Valkeinen#
3f7018c21STomi Valkeinen# Makefile for the OMAP1 framebuffer device driver
4f7018c21STomi Valkeinen#
5f7018c21STomi Valkeinen
6f7018c21STomi Valkeinenobj-$(CONFIG_FB_OMAP) += omapfb.o
7f7018c21STomi Valkeinen
8*042c4884SArnd Bergmannifdef CONFIG_FB_OMAP
9*042c4884SArnd Bergmann# must be built-in
10*042c4884SArnd Bergmannobj-y += lcd_dma.o
11*042c4884SArnd Bergmannendif
12*042c4884SArnd Bergmann
13f7018c21STomi Valkeinenobjs-yy := omapfb_main.o lcdc.o
14f7018c21STomi Valkeinen
15f7018c21STomi Valkeinenobjs-y$(CONFIG_FB_OMAP_LCDC_EXTERNAL) += sossi.o
16f7018c21STomi Valkeinen
17f7018c21STomi Valkeinenobjs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o
18f7018c21STomi Valkeinen
1981c44c2bSArnd Bergmannlcds-y$(CONFIG_MACH_AMS_DELTA) += lcd_ams_delta.o
2081c44c2bSArnd Bergmannlcds-y$(CONFIG_MACH_OMAP_PALMTE) += lcd_palmte.o
21f7018c21STomi Valkeinen
2281c44c2bSArnd Bergmannlcds-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o
23f7018c21STomi Valkeinen
24f7018c21STomi Valkeinenomapfb-objs := $(objs-yy)
25f7018c21STomi Valkeinen
2681c44c2bSArnd Bergmannobj-$(CONFIG_FB_OMAP) += $(lcds-yy)
27