diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:38:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:29 -0400 |
commit | b2f594fd7adff7aae2d1664e72044926b0b906aa (patch) | |
tree | 94ebe01c6bc44e9c4b4101cd604c62c069187bae /drivers/video/Makefile | |
parent | 22d832edcace45b26ced76efef6c863449e4e060 (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/Makefile | 14 |
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 | ||
7 | obj-$(CONFIG_VGASTATE) += vgastate.o | ||
7 | obj-y += fb_notify.o | 8 | obj-y += fb_notify.o |
8 | obj-$(CONFIG_FB) += fb.o | 9 | obj-$(CONFIG_FB) += fb.o |
9 | fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \ | 10 | fb-y := fbmem.o fbmon.o fbcmap.o fbsysfs.o \ |
@@ -31,18 +32,17 @@ obj-$(CONFIG_FB_PM2) += pm2fb.o | |||
31 | obj-$(CONFIG_FB_PM3) += pm3fb.o | 32 | obj-$(CONFIG_FB_PM3) += pm3fb.o |
32 | 33 | ||
33 | obj-$(CONFIG_FB_MATROX) += matrox/ | 34 | obj-$(CONFIG_FB_MATROX) += matrox/ |
34 | obj-$(CONFIG_FB_RIVA) += riva/ vgastate.o | 35 | obj-$(CONFIG_FB_RIVA) += riva/ |
35 | obj-$(CONFIG_FB_NVIDIA) += nvidia/ vgastate.o | 36 | obj-$(CONFIG_FB_NVIDIA) += nvidia/ |
36 | obj-$(CONFIG_FB_ATY) += aty/ macmodes.o | 37 | obj-$(CONFIG_FB_ATY) += aty/ macmodes.o |
37 | obj-$(CONFIG_FB_ATY128) += aty/ macmodes.o | 38 | obj-$(CONFIG_FB_ATY128) += aty/ macmodes.o |
38 | obj-$(CONFIG_FB_RADEON) += aty/ | 39 | obj-$(CONFIG_FB_RADEON) += aty/ |
39 | obj-$(CONFIG_FB_SIS) += sis/ | 40 | obj-$(CONFIG_FB_SIS) += sis/ |
40 | obj-$(CONFIG_FB_KYRO) += kyro/ | 41 | obj-$(CONFIG_FB_KYRO) += kyro/ |
41 | obj-$(CONFIG_FB_SAVAGE) += savage/ vgastate.o | 42 | obj-$(CONFIG_FB_SAVAGE) += savage/ |
42 | obj-$(CONFIG_FB_GEODE) += geode/ | 43 | obj-$(CONFIG_FB_GEODE) += geode/ |
43 | obj-$(CONFIG_FB_MBX) += mbx/ | 44 | obj-$(CONFIG_FB_MBX) += mbx/ |
44 | obj-$(CONFIG_FB_I810) += vgastate.o | 45 | obj-$(CONFIG_FB_NEOMAGIC) += neofb.o |
45 | obj-$(CONFIG_FB_NEOMAGIC) += neofb.o vgastate.o | ||
46 | obj-$(CONFIG_FB_3DFX) += tdfxfb.o | 46 | obj-$(CONFIG_FB_3DFX) += tdfxfb.o |
47 | obj-$(CONFIG_FB_CONTROL) += controlfb.o | 47 | obj-$(CONFIG_FB_CONTROL) += controlfb.o |
48 | obj-$(CONFIG_FB_PLATINUM) += platinumfb.o | 48 | obj-$(CONFIG_FB_PLATINUM) += platinumfb.o |
@@ -52,7 +52,7 @@ obj-$(CONFIG_FB_IMSTT) += imsttfb.o | |||
52 | obj-$(CONFIG_FB_FM2) += fm2fb.o | 52 | obj-$(CONFIG_FB_FM2) += fm2fb.o |
53 | obj-$(CONFIG_FB_CYBLA) += cyblafb.o | 53 | obj-$(CONFIG_FB_CYBLA) += cyblafb.o |
54 | obj-$(CONFIG_FB_TRIDENT) += tridentfb.o | 54 | obj-$(CONFIG_FB_TRIDENT) += tridentfb.o |
55 | obj-$(CONFIG_FB_S3) += s3fb.o vgastate.o | 55 | obj-$(CONFIG_FB_S3) += s3fb.o |
56 | obj-$(CONFIG_FB_STI) += stifb.o | 56 | obj-$(CONFIG_FB_STI) += stifb.o |
57 | obj-$(CONFIG_FB_FFB) += ffb.o sbuslib.o | 57 | obj-$(CONFIG_FB_FFB) += ffb.o sbuslib.o |
58 | obj-$(CONFIG_FB_CG6) += cg6.o sbuslib.o | 58 | obj-$(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 |
109 | obj-$(CONFIG_FB_VESA) += vesafb.o | 109 | obj-$(CONFIG_FB_VESA) += vesafb.o |
110 | obj-$(CONFIG_FB_IMAC) += imacfb.o | 110 | obj-$(CONFIG_FB_IMAC) += imacfb.o |
111 | obj-$(CONFIG_FB_VGA16) += vga16fb.o vgastate.o | 111 | obj-$(CONFIG_FB_VGA16) += vga16fb.o |
112 | obj-$(CONFIG_FB_OF) += offb.o | 112 | obj-$(CONFIG_FB_OF) += offb.o |
113 | 113 | ||
114 | # the test framebuffer is last | 114 | # the test framebuffer is last |