aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/Makefile
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-08 03:38:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:29 -0400
commitb2f594fd7adff7aae2d1664e72044926b0b906aa (patch)
tree94ebe01c6bc44e9c4b4101cd604c62c069187bae /drivers/video/Makefile
parent22d832edcace45b26ced76efef6c863449e4e060 (diff)
fbdev: link vgastate.o using Kconfig
Instead of directly linking vgastate.o by individual drivers, create a Kconfig option VGASTATE which can be 'SELECT'ed by individual drivers instead. Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/Makefile')
-rw-r--r--drivers/video/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 1e1845d7ecce..cd94375c3fc1 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -4,6 +4,7 @@
4 4
5# Each configuration option enables a list of files. 5# Each configuration option enables a list of files.
6 6
7obj-$(CONFIG_VGASTATE) += vgastate.o
7obj-y += fb_notify.o 8obj-y += fb_notify.o
8obj-$(CONFIG_FB) += fb.o 9obj-$(CONFIG_FB) += fb.o
9fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \ 10fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \
@@ -31,18 +32,17 @@ obj-$(CONFIG_FB_PM2) += pm2fb.o
31obj-$(CONFIG_FB_PM3) += pm3fb.o 32obj-$(CONFIG_FB_PM3) += pm3fb.o
32 33
33obj-$(CONFIG_FB_MATROX) += matrox/ 34obj-$(CONFIG_FB_MATROX) += matrox/
34obj-$(CONFIG_FB_RIVA) += riva/ vgastate.o 35obj-$(CONFIG_FB_RIVA) += riva/
35obj-$(CONFIG_FB_NVIDIA) += nvidia/ vgastate.o 36obj-$(CONFIG_FB_NVIDIA) += nvidia/
36obj-$(CONFIG_FB_ATY) += aty/ macmodes.o 37obj-$(CONFIG_FB_ATY) += aty/ macmodes.o
37obj-$(CONFIG_FB_ATY128) += aty/ macmodes.o 38obj-$(CONFIG_FB_ATY128) += aty/ macmodes.o
38obj-$(CONFIG_FB_RADEON) += aty/ 39obj-$(CONFIG_FB_RADEON) += aty/
39obj-$(CONFIG_FB_SIS) += sis/ 40obj-$(CONFIG_FB_SIS) += sis/
40obj-$(CONFIG_FB_KYRO) += kyro/ 41obj-$(CONFIG_FB_KYRO) += kyro/
41obj-$(CONFIG_FB_SAVAGE) += savage/ vgastate.o 42obj-$(CONFIG_FB_SAVAGE) += savage/
42obj-$(CONFIG_FB_GEODE) += geode/ 43obj-$(CONFIG_FB_GEODE) += geode/
43obj-$(CONFIG_FB_MBX) += mbx/ 44obj-$(CONFIG_FB_MBX) += mbx/
44obj-$(CONFIG_FB_I810) += vgastate.o 45obj-$(CONFIG_FB_NEOMAGIC) += neofb.o
45obj-$(CONFIG_FB_NEOMAGIC) += neofb.o vgastate.o
46obj-$(CONFIG_FB_3DFX) += tdfxfb.o 46obj-$(CONFIG_FB_3DFX) += tdfxfb.o
47obj-$(CONFIG_FB_CONTROL) += controlfb.o 47obj-$(CONFIG_FB_CONTROL) += controlfb.o
48obj-$(CONFIG_FB_PLATINUM) += platinumfb.o 48obj-$(CONFIG_FB_PLATINUM) += platinumfb.o
@@ -52,7 +52,7 @@ obj-$(CONFIG_FB_IMSTT) += imsttfb.o
52obj-$(CONFIG_FB_FM2) += fm2fb.o 52obj-$(CONFIG_FB_FM2) += fm2fb.o
53obj-$(CONFIG_FB_CYBLA) += cyblafb.o 53obj-$(CONFIG_FB_CYBLA) += cyblafb.o
54obj-$(CONFIG_FB_TRIDENT) += tridentfb.o 54obj-$(CONFIG_FB_TRIDENT) += tridentfb.o
55obj-$(CONFIG_FB_S3) += s3fb.o vgastate.o 55obj-$(CONFIG_FB_S3) += s3fb.o
56obj-$(CONFIG_FB_STI) += stifb.o 56obj-$(CONFIG_FB_STI) += stifb.o
57obj-$(CONFIG_FB_FFB) += ffb.o sbuslib.o 57obj-$(CONFIG_FB_FFB) += ffb.o sbuslib.o
58obj-$(CONFIG_FB_CG6) += cg6.o sbuslib.o 58obj-$(CONFIG_FB_CG6) += cg6.o sbuslib.o
@@ -108,7 +108,7 @@ obj-$(CONFIG_FB_SM501) += sm501fb.o
108# Platform or fallback drivers go here 108# Platform or fallback drivers go here
109obj-$(CONFIG_FB_VESA) += vesafb.o 109obj-$(CONFIG_FB_VESA) += vesafb.o
110obj-$(CONFIG_FB_IMAC) += imacfb.o 110obj-$(CONFIG_FB_IMAC) += imacfb.o
111obj-$(CONFIG_FB_VGA16) += vga16fb.o vgastate.o 111obj-$(CONFIG_FB_VGA16) += vga16fb.o
112obj-$(CONFIG_FB_OF) += offb.o 112obj-$(CONFIG_FB_OF) += offb.o
113 113
114# the test framebuffer is last 114# the test framebuffer is last