162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci# Makefile for the Linux video drivers.
362306a36Sopenharmony_ci# 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
462306a36Sopenharmony_ci# Rewritten to use lists instead of if-statements.
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci# Each configuration option enables a list of files.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciobj-y				+= core/
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciobj-$(CONFIG_FB_MACMODES)      += macmodes.o
1162306a36Sopenharmony_ciobj-$(CONFIG_FB_WMT_GE_ROPS)   += wmt_ge_rops.o
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci# Hardware specific drivers go first
1462306a36Sopenharmony_ciobj-$(CONFIG_FB_AMIGA)            += amifb.o c2p_planar.o
1562306a36Sopenharmony_ciobj-$(CONFIG_FB_ARC)              += arcfb.o
1662306a36Sopenharmony_ciobj-$(CONFIG_FB_CLPS711X)	  += clps711x-fb.o
1762306a36Sopenharmony_ciobj-$(CONFIG_FB_CYBER2000)        += cyber2000fb.o
1862306a36Sopenharmony_ciobj-$(CONFIG_FB_GRVGA)            += grvga.o
1962306a36Sopenharmony_ciobj-$(CONFIG_FB_PM2)              += pm2fb.o
2062306a36Sopenharmony_ciobj-$(CONFIG_FB_PM3)		  += pm3fb.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciobj-$(CONFIG_FB_I740)		  += i740fb.o
2362306a36Sopenharmony_ciobj-$(CONFIG_FB_MATROX)		  += matrox/
2462306a36Sopenharmony_ciobj-$(CONFIG_FB_RIVA)		  += riva/
2562306a36Sopenharmony_ciobj-$(CONFIG_FB_NVIDIA)		  += nvidia/
2662306a36Sopenharmony_ciobj-$(CONFIG_FB_ATY)		  += aty/ macmodes.o
2762306a36Sopenharmony_ciobj-$(CONFIG_FB_ATY128)		  += aty/ macmodes.o
2862306a36Sopenharmony_ciobj-$(CONFIG_FB_RADEON)		  += aty/
2962306a36Sopenharmony_ciobj-$(CONFIG_FB_SIS)		  += sis/
3062306a36Sopenharmony_ciobj-$(CONFIG_FB_VIA)		  += via/
3162306a36Sopenharmony_ciobj-$(CONFIG_FB_KYRO)             += kyro/
3262306a36Sopenharmony_ciobj-$(CONFIG_FB_SAVAGE)		  += savage/
3362306a36Sopenharmony_ciobj-$(CONFIG_FB_GEODE)		  += geode/
3462306a36Sopenharmony_ciobj-$(CONFIG_FB_NEOMAGIC)         += neofb.o
3562306a36Sopenharmony_ciobj-$(CONFIG_FB_3DFX)             += tdfxfb.o
3662306a36Sopenharmony_ciobj-$(CONFIG_FB_CONTROL)          += controlfb.o
3762306a36Sopenharmony_ciobj-$(CONFIG_FB_PLATINUM)         += platinumfb.o
3862306a36Sopenharmony_ciobj-$(CONFIG_FB_VALKYRIE)         += valkyriefb.o
3962306a36Sopenharmony_ciobj-$(CONFIG_FB_CT65550)          += chipsfb.o
4062306a36Sopenharmony_ciobj-$(CONFIG_FB_IMSTT)            += imsttfb.o
4162306a36Sopenharmony_ciobj-$(CONFIG_FB_FM2)              += fm2fb.o
4262306a36Sopenharmony_ciobj-$(CONFIG_FB_VT8623)           += vt8623fb.o
4362306a36Sopenharmony_ciobj-$(CONFIG_FB_TRIDENT)          += tridentfb.o
4462306a36Sopenharmony_ciobj-$(CONFIG_FB_LE80578)          += vermilion/
4562306a36Sopenharmony_ciobj-$(CONFIG_FB_S3)               += s3fb.o
4662306a36Sopenharmony_ciobj-$(CONFIG_FB_ARK)              += arkfb.o
4762306a36Sopenharmony_ciobj-$(CONFIG_FB_STI)              += stifb.o
4862306a36Sopenharmony_ciobj-$(CONFIG_FB_FFB)              += ffb.o sbuslib.o
4962306a36Sopenharmony_ciobj-$(CONFIG_FB_CG6)              += cg6.o sbuslib.o
5062306a36Sopenharmony_ciobj-$(CONFIG_FB_CG3)              += cg3.o sbuslib.o
5162306a36Sopenharmony_ciobj-$(CONFIG_FB_BW2)              += bw2.o sbuslib.o
5262306a36Sopenharmony_ciobj-$(CONFIG_FB_CG14)             += cg14.o sbuslib.o
5362306a36Sopenharmony_ciobj-$(CONFIG_FB_P9100)            += p9100.o sbuslib.o
5462306a36Sopenharmony_ciobj-$(CONFIG_FB_TCX)              += tcx.o sbuslib.o
5562306a36Sopenharmony_ciobj-$(CONFIG_FB_LEO)              += leo.o sbuslib.o
5662306a36Sopenharmony_ciobj-$(CONFIG_FB_ACORN)            += acornfb.o
5762306a36Sopenharmony_ciobj-$(CONFIG_FB_ATARI)            += atafb.o c2p_iplan2.o atafb_mfb.o \
5862306a36Sopenharmony_ci                                     atafb_iplan2p2.o atafb_iplan2p4.o atafb_iplan2p8.o
5962306a36Sopenharmony_ciobj-$(CONFIG_FB_MAC)              += macfb.o
6062306a36Sopenharmony_ciobj-$(CONFIG_FB_HECUBA)           += hecubafb.o
6162306a36Sopenharmony_ciobj-$(CONFIG_FB_N411)             += n411.o
6262306a36Sopenharmony_ciobj-$(CONFIG_FB_HGA)              += hgafb.o
6362306a36Sopenharmony_ciobj-$(CONFIG_FB_XVR500)           += sunxvr500.o
6462306a36Sopenharmony_ciobj-$(CONFIG_FB_XVR2500)          += sunxvr2500.o
6562306a36Sopenharmony_ciobj-$(CONFIG_FB_XVR1000)          += sunxvr1000.o
6662306a36Sopenharmony_ciobj-$(CONFIG_FB_APOLLO)           += dnfb.o
6762306a36Sopenharmony_ciobj-$(CONFIG_FB_Q40)              += q40fb.o
6862306a36Sopenharmony_ciobj-$(CONFIG_FB_TGA)              += tgafb.o
6962306a36Sopenharmony_ciobj-$(CONFIG_FB_HP300)            += hpfb.o
7062306a36Sopenharmony_ciobj-$(CONFIG_FB_G364)             += g364fb.o
7162306a36Sopenharmony_ciobj-$(CONFIG_FB_EP93XX)		  += ep93xx-fb.o
7262306a36Sopenharmony_ciobj-$(CONFIG_FB_SA1100)           += sa1100fb.o
7362306a36Sopenharmony_ciobj-$(CONFIG_FB_HIT)              += hitfb.o
7462306a36Sopenharmony_ciobj-$(CONFIG_FB_ATMEL)		  += atmel_lcdfb.o
7562306a36Sopenharmony_ciobj-$(CONFIG_FB_PVR2)             += pvr2fb.o
7662306a36Sopenharmony_ciobj-$(CONFIG_FB_VOODOO1)          += sstfb.o
7762306a36Sopenharmony_ciobj-$(CONFIG_FB_ARMCLCD)	  += amba-clcd.o
7862306a36Sopenharmony_ciobj-$(CONFIG_FB_GOLDFISH)         += goldfishfb.o
7962306a36Sopenharmony_ciobj-$(CONFIG_FB_68328)            += 68328fb.o
8062306a36Sopenharmony_ciobj-$(CONFIG_FB_GBE)              += gbefb.o
8162306a36Sopenharmony_ciobj-$(CONFIG_FB_CIRRUS)		  += cirrusfb.o
8262306a36Sopenharmony_ciobj-$(CONFIG_FB_ASILIANT)	  += asiliantfb.o
8362306a36Sopenharmony_ciobj-$(CONFIG_FB_PXA)		  += pxafb.o
8462306a36Sopenharmony_ciobj-$(CONFIG_FB_PXA168)		  += pxa168fb.o
8562306a36Sopenharmony_ciobj-$(CONFIG_PXA3XX_GCU)	  += pxa3xx-gcu.o
8662306a36Sopenharmony_ciobj-$(CONFIG_MMP_DISP)           += mmp/
8762306a36Sopenharmony_ciobj-$(CONFIG_FB_AU1100)		  += au1100fb.o
8862306a36Sopenharmony_ciobj-$(CONFIG_FB_AU1200)		  += au1200fb.o
8962306a36Sopenharmony_ciobj-$(CONFIG_FB_VT8500)		  += vt8500lcdfb.o
9062306a36Sopenharmony_ciobj-$(CONFIG_FB_WM8505)		  += wm8505fb.o
9162306a36Sopenharmony_ciobj-$(CONFIG_FB_PMAG_AA)	  += pmag-aa-fb.o
9262306a36Sopenharmony_ciobj-$(CONFIG_FB_PMAG_BA)	  += pmag-ba-fb.o
9362306a36Sopenharmony_ciobj-$(CONFIG_FB_PMAGB_B)	  += pmagb-b-fb.o
9462306a36Sopenharmony_ciobj-$(CONFIG_FB_MAXINE)		  += maxinefb.o
9562306a36Sopenharmony_ciobj-$(CONFIG_FB_METRONOME)        += metronomefb.o
9662306a36Sopenharmony_ciobj-$(CONFIG_FB_BROADSHEET)       += broadsheetfb.o
9762306a36Sopenharmony_ciobj-$(CONFIG_FB_S1D13XXX)	  += s1d13xxxfb.o
9862306a36Sopenharmony_ciobj-$(CONFIG_FB_SH7760)		  += sh7760fb.o
9962306a36Sopenharmony_ciobj-$(CONFIG_FB_IMX)              += imxfb.o
10062306a36Sopenharmony_ciobj-$(CONFIG_FB_S3C)		  += s3c-fb.o
10162306a36Sopenharmony_ciobj-$(CONFIG_FB_FSL_DIU)	  += fsl-diu-fb.o
10262306a36Sopenharmony_ciobj-$(CONFIG_FB_COBALT)           += cobalt_lcdfb.o
10362306a36Sopenharmony_ciobj-$(CONFIG_FB_IBM_GXT4500)	  += gxt4500.o
10462306a36Sopenharmony_ciobj-$(CONFIG_FB_PS3)		  += ps3fb.o
10562306a36Sopenharmony_ciobj-$(CONFIG_FB_SM501)            += sm501fb.o
10662306a36Sopenharmony_ciobj-$(CONFIG_FB_UDL)		  += udlfb.o
10762306a36Sopenharmony_ciobj-$(CONFIG_FB_SMSCUFX)	  += smscufx.o
10862306a36Sopenharmony_ciobj-$(CONFIG_FB_XILINX)           += xilinxfb.o
10962306a36Sopenharmony_ciobj-$(CONFIG_FB_SH_MOBILE_LCDC)	  += sh_mobile_lcdcfb.o
11062306a36Sopenharmony_ciobj-y				  += omap/
11162306a36Sopenharmony_ciobj-y                             += omap2/
11262306a36Sopenharmony_ciobj-$(CONFIG_XEN_FBDEV_FRONTEND)  += xen-fbfront.o
11362306a36Sopenharmony_ciobj-$(CONFIG_FB_CARMINE)          += carminefb.o
11462306a36Sopenharmony_ciobj-$(CONFIG_FB_MB862XX)	  += mb862xx/
11562306a36Sopenharmony_ciobj-$(CONFIG_FB_HYPERV)		  += hyperv_fb.o
11662306a36Sopenharmony_ciobj-$(CONFIG_FB_OPENCORES)	  += ocfb.o
11762306a36Sopenharmony_ciobj-$(CONFIG_FB_SM712)		  += sm712fb.o
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ci# Platform or fallback drivers go here
12062306a36Sopenharmony_ciobj-$(CONFIG_FB_UVESA)            += uvesafb.o
12162306a36Sopenharmony_ciobj-$(CONFIG_FB_VESA)             += vesafb.o
12262306a36Sopenharmony_ciobj-$(CONFIG_FB_EFI)              += efifb.o
12362306a36Sopenharmony_ciobj-$(CONFIG_FB_VGA16)            += vga16fb.o
12462306a36Sopenharmony_ciobj-$(CONFIG_FB_OF)               += offb.o
12562306a36Sopenharmony_ciobj-$(CONFIG_FB_DA8XX)		  += da8xx-fb.o
12662306a36Sopenharmony_ciobj-$(CONFIG_FB_SSD1307)	  += ssd1307fb.o
12762306a36Sopenharmony_ciobj-$(CONFIG_FB_SIMPLE)           += simplefb.o
12862306a36Sopenharmony_ci
12962306a36Sopenharmony_ci# the test framebuffer is last
13062306a36Sopenharmony_ciobj-$(CONFIG_FB_VIRTUAL)          += vfb.o
131