xref: /openbmc/linux/drivers/video/Makefile (revision afc98d90)
1# Makefile for the Linux video drivers.
2# 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
3# Rewritten to use lists instead of if-statements.
4
5# Each configuration option enables a list of files.
6
7obj-$(CONFIG_VGASTATE)            += vgastate.o
8obj-$(CONFIG_HDMI)                += hdmi.o
9obj-y                             += fb_notify.o
10obj-$(CONFIG_FB)                  += fb.o
11fb-y                              := fbmem.o fbmon.o fbcmap.o fbsysfs.o \
12                                     modedb.o fbcvt.o
13fb-objs                           := $(fb-y)
14
15obj-$(CONFIG_VT)		  += console/
16obj-$(CONFIG_LOGO)		  += logo/
17obj-y				  += backlight/
18
19obj-$(CONFIG_EXYNOS_VIDEO)     += exynos/
20
21obj-$(CONFIG_FB_CFB_FILLRECT)  += cfbfillrect.o
22obj-$(CONFIG_FB_CFB_COPYAREA)  += cfbcopyarea.o
23obj-$(CONFIG_FB_CFB_IMAGEBLIT) += cfbimgblt.o
24obj-$(CONFIG_FB_SYS_FILLRECT)  += sysfillrect.o
25obj-$(CONFIG_FB_SYS_COPYAREA)  += syscopyarea.o
26obj-$(CONFIG_FB_SYS_IMAGEBLIT) += sysimgblt.o
27obj-$(CONFIG_FB_SYS_FOPS)      += fb_sys_fops.o
28obj-$(CONFIG_FB_SVGALIB)       += svgalib.o
29obj-$(CONFIG_FB_MACMODES)      += macmodes.o
30obj-$(CONFIG_FB_DDC)           += fb_ddc.o
31obj-$(CONFIG_FB_DEFERRED_IO)   += fb_defio.o
32obj-$(CONFIG_FB_WMT_GE_ROPS)   += wmt_ge_rops.o
33
34# Hardware specific drivers go first
35obj-$(CONFIG_FB_AMIGA)            += amifb.o c2p_planar.o
36obj-$(CONFIG_FB_ARC)              += arcfb.o
37obj-$(CONFIG_FB_CLPS711X)         += clps711xfb.o
38obj-$(CONFIG_FB_CYBER2000)        += cyber2000fb.o
39obj-$(CONFIG_FB_GRVGA)            += grvga.o
40obj-$(CONFIG_FB_PM2)              += pm2fb.o
41obj-$(CONFIG_FB_PM3)		  += pm3fb.o
42
43obj-$(CONFIG_FB_I740)		  += i740fb.o
44obj-$(CONFIG_FB_MATROX)		  += matrox/
45obj-$(CONFIG_FB_RIVA)		  += riva/
46obj-$(CONFIG_FB_NVIDIA)		  += nvidia/
47obj-$(CONFIG_FB_ATY)		  += aty/ macmodes.o
48obj-$(CONFIG_FB_ATY128)		  += aty/ macmodes.o
49obj-$(CONFIG_FB_RADEON)		  += aty/
50obj-$(CONFIG_FB_SIS)		  += sis/
51obj-$(CONFIG_FB_VIA)		  += via/
52obj-$(CONFIG_FB_KYRO)             += kyro/
53obj-$(CONFIG_FB_SAVAGE)		  += savage/
54obj-$(CONFIG_FB_GEODE)		  += geode/
55obj-$(CONFIG_FB_MBX)		  += mbx/
56obj-$(CONFIG_FB_NEOMAGIC)         += neofb.o
57obj-$(CONFIG_FB_3DFX)             += tdfxfb.o
58obj-$(CONFIG_FB_CONTROL)          += controlfb.o
59obj-$(CONFIG_FB_PLATINUM)         += platinumfb.o
60obj-$(CONFIG_FB_VALKYRIE)         += valkyriefb.o
61obj-$(CONFIG_FB_CT65550)          += chipsfb.o
62obj-$(CONFIG_FB_IMSTT)            += imsttfb.o
63obj-$(CONFIG_FB_FM2)              += fm2fb.o
64obj-$(CONFIG_FB_VT8623)           += vt8623fb.o
65obj-$(CONFIG_FB_TRIDENT)          += tridentfb.o
66obj-$(CONFIG_FB_LE80578)          += vermilion/
67obj-$(CONFIG_FB_S3)               += s3fb.o
68obj-$(CONFIG_FB_ARK)              += arkfb.o
69obj-$(CONFIG_FB_STI)              += stifb.o
70obj-$(CONFIG_FB_FFB)              += ffb.o sbuslib.o
71obj-$(CONFIG_FB_CG6)              += cg6.o sbuslib.o
72obj-$(CONFIG_FB_CG3)              += cg3.o sbuslib.o
73obj-$(CONFIG_FB_BW2)              += bw2.o sbuslib.o
74obj-$(CONFIG_FB_CG14)             += cg14.o sbuslib.o
75obj-$(CONFIG_FB_P9100)            += p9100.o sbuslib.o
76obj-$(CONFIG_FB_TCX)              += tcx.o sbuslib.o
77obj-$(CONFIG_FB_LEO)              += leo.o sbuslib.o
78obj-$(CONFIG_FB_SGIVW)            += sgivwfb.o
79obj-$(CONFIG_FB_ACORN)            += acornfb.o
80obj-$(CONFIG_FB_ATARI)            += atafb.o c2p_iplan2.o atafb_mfb.o \
81                                     atafb_iplan2p2.o atafb_iplan2p4.o atafb_iplan2p8.o
82obj-$(CONFIG_FB_MAC)              += macfb.o
83obj-$(CONFIG_FB_HECUBA)           += hecubafb.o
84obj-$(CONFIG_FB_N411)             += n411.o
85obj-$(CONFIG_FB_HGA)              += hgafb.o
86obj-$(CONFIG_FB_XVR500)           += sunxvr500.o
87obj-$(CONFIG_FB_XVR2500)          += sunxvr2500.o
88obj-$(CONFIG_FB_XVR1000)          += sunxvr1000.o
89obj-$(CONFIG_FB_IGA)              += igafb.o
90obj-$(CONFIG_FB_APOLLO)           += dnfb.o
91obj-$(CONFIG_FB_Q40)              += q40fb.o
92obj-$(CONFIG_FB_TGA)              += tgafb.o
93obj-$(CONFIG_FB_HP300)            += hpfb.o
94obj-$(CONFIG_FB_G364)             += g364fb.o
95obj-$(CONFIG_FB_EP93XX)		  += ep93xx-fb.o
96obj-$(CONFIG_FB_SA1100)           += sa1100fb.o
97obj-$(CONFIG_FB_HIT)              += hitfb.o
98obj-$(CONFIG_FB_ATMEL)		  += atmel_lcdfb.o
99obj-$(CONFIG_FB_PVR2)             += pvr2fb.o
100obj-$(CONFIG_FB_VOODOO1)          += sstfb.o
101obj-$(CONFIG_FB_ARMCLCD)	  += amba-clcd.o
102obj-$(CONFIG_FB_GOLDFISH)         += goldfishfb.o
103obj-$(CONFIG_FB_68328)            += 68328fb.o
104obj-$(CONFIG_FB_GBE)              += gbefb.o
105obj-$(CONFIG_FB_CIRRUS)		  += cirrusfb.o
106obj-$(CONFIG_FB_ASILIANT)	  += asiliantfb.o
107obj-$(CONFIG_FB_PXA)		  += pxafb.o
108obj-$(CONFIG_FB_PXA168)		  += pxa168fb.o
109obj-$(CONFIG_PXA3XX_GCU)	  += pxa3xx-gcu.o
110obj-$(CONFIG_MMP_DISP)           += mmp/
111obj-$(CONFIG_FB_W100)		  += w100fb.o
112obj-$(CONFIG_FB_TMIO)		  += tmiofb.o
113obj-$(CONFIG_FB_AU1100)		  += au1100fb.o
114obj-$(CONFIG_FB_AU1200)		  += au1200fb.o
115obj-$(CONFIG_FB_VT8500)		  += vt8500lcdfb.o
116obj-$(CONFIG_FB_WM8505)		  += wm8505fb.o
117obj-$(CONFIG_FB_PMAG_AA)	  += pmag-aa-fb.o
118obj-$(CONFIG_FB_PMAG_BA)	  += pmag-ba-fb.o
119obj-$(CONFIG_FB_PMAGB_B)	  += pmagb-b-fb.o
120obj-$(CONFIG_FB_MAXINE)		  += maxinefb.o
121obj-$(CONFIG_FB_METRONOME)        += metronomefb.o
122obj-$(CONFIG_FB_BROADSHEET)       += broadsheetfb.o
123obj-$(CONFIG_FB_AUO_K190X)	  += auo_k190x.o
124obj-$(CONFIG_FB_AUO_K1900)	  += auo_k1900fb.o
125obj-$(CONFIG_FB_AUO_K1901)	  += auo_k1901fb.o
126obj-$(CONFIG_FB_S1D13XXX)	  += s1d13xxxfb.o
127obj-$(CONFIG_FB_SH7760)		  += sh7760fb.o
128obj-$(CONFIG_FB_IMX)              += imxfb.o
129obj-$(CONFIG_FB_S3C)		  += s3c-fb.o
130obj-$(CONFIG_FB_S3C2410)	  += s3c2410fb.o
131obj-$(CONFIG_FB_FSL_DIU)	  += fsl-diu-fb.o
132obj-$(CONFIG_FB_COBALT)           += cobalt_lcdfb.o
133obj-$(CONFIG_FB_IBM_GXT4500)	  += gxt4500.o
134obj-$(CONFIG_FB_PS3)		  += ps3fb.o
135obj-$(CONFIG_FB_SM501)            += sm501fb.o
136obj-$(CONFIG_FB_UDL)		  += udlfb.o
137obj-$(CONFIG_FB_SMSCUFX)	  += smscufx.o
138obj-$(CONFIG_FB_XILINX)           += xilinxfb.o
139obj-$(CONFIG_SH_MIPI_DSI)	  += sh_mipi_dsi.o
140obj-$(CONFIG_FB_SH_MOBILE_HDMI)	  += sh_mobile_hdmi.o
141obj-$(CONFIG_FB_SH_MOBILE_MERAM)  += sh_mobile_meram.o
142obj-$(CONFIG_FB_SH_MOBILE_LCDC)	  += sh_mobile_lcdcfb.o
143obj-$(CONFIG_FB_OMAP)             += omap/
144obj-y                             += omap2/
145obj-$(CONFIG_XEN_FBDEV_FRONTEND)  += xen-fbfront.o
146obj-$(CONFIG_FB_CARMINE)          += carminefb.o
147obj-$(CONFIG_FB_MB862XX)	  += mb862xx/
148obj-$(CONFIG_FB_MSM)              += msm/
149obj-$(CONFIG_FB_NUC900)           += nuc900fb.o
150obj-$(CONFIG_FB_JZ4740)		  += jz4740_fb.o
151obj-$(CONFIG_FB_PUV3_UNIGFX)      += fb-puv3.o
152obj-$(CONFIG_FB_HYPERV)		  += hyperv_fb.o
153obj-$(CONFIG_FB_OPENCORES)	  += ocfb.o
154
155# Platform or fallback drivers go here
156obj-$(CONFIG_FB_UVESA)            += uvesafb.o
157obj-$(CONFIG_FB_VESA)             += vesafb.o
158obj-$(CONFIG_FB_EFI)              += efifb.o
159obj-$(CONFIG_FB_VGA16)            += vga16fb.o
160obj-$(CONFIG_FB_OF)               += offb.o
161obj-$(CONFIG_FB_BF537_LQ035)      += bf537-lq035.o
162obj-$(CONFIG_FB_BF54X_LQ043)	  += bf54x-lq043fb.o
163obj-$(CONFIG_FB_BFIN_LQ035Q1)     += bfin-lq035q1-fb.o
164obj-$(CONFIG_FB_BFIN_T350MCQB)	  += bfin-t350mcqb-fb.o
165obj-$(CONFIG_FB_BFIN_7393)        += bfin_adv7393fb.o
166obj-$(CONFIG_FB_MX3)		  += mx3fb.o
167obj-$(CONFIG_FB_DA8XX)		  += da8xx-fb.o
168obj-$(CONFIG_FB_MXS)		  += mxsfb.o
169obj-$(CONFIG_FB_SSD1307)	  += ssd1307fb.o
170obj-$(CONFIG_FB_SIMPLE)           += simplefb.o
171
172# the test framebuffer is last
173obj-$(CONFIG_FB_VIRTUAL)          += vfb.o
174
175#video output switch sysfs driver
176obj-$(CONFIG_VIDEO_OUTPUT_CONTROL) += output.o
177obj-$(CONFIG_VIDEOMODE_HELPERS) += display_timing.o videomode.o
178ifeq ($(CONFIG_OF),y)
179obj-$(CONFIG_VIDEOMODE_HELPERS) += of_display_timing.o of_videomode.o
180endif
181