Commit c1200df0 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Use standard multi-part object declaration in drivers/video/*

parent d859f5cb
...@@ -88,26 +88,10 @@ obj-$(CONFIG_FB_PMAGB_B) += pmagb-b-fb.o ...@@ -88,26 +88,10 @@ obj-$(CONFIG_FB_PMAGB_B) += pmagb-b-fb.o
obj-$(CONFIG_FB_MAXINE) += maxinefb.o obj-$(CONFIG_FB_MAXINE) += maxinefb.o
obj-$(CONFIG_FB_TX3912) += tx3912fb.o obj-$(CONFIG_FB_TX3912) += tx3912fb.o
obj-$(CONFIG_FB_MATROX) += matrox/
subdir-$(CONFIG_FB_MATROX) += matrox obj-$(CONFIG_FB_RIVA) += riva/
ifeq ($(CONFIG_FB_MATROX),y) obj-$(CONFIG_FB_SIS) += sis/
obj-y += matrox/matrox.o obj-$(CONFIG_FB_ATY) += aty/
endif
subdir-$(CONFIG_FB_RIVA) += riva
ifeq ($(CONFIG_FB_RIVA),y)
obj-y += riva/rivafb.o
endif
subdir-$(CONFIG_FB_SIS) += sis
ifeq ($(CONFIG_FB_SIS),y)
obj-y += sis/sisfb.o
endif
subdir-$(CONFIG_FB_ATY) += aty
ifeq ($(CONFIG_FB_ATY),y)
obj-y += aty/atyfb.o
endif
obj-$(CONFIG_FB_SUN3) += sun3fb.o obj-$(CONFIG_FB_SUN3) += sun3fb.o
obj-$(CONFIG_FB_BWTWO) += bwtwofb.o obj-$(CONFIG_FB_BWTWO) += bwtwofb.o
......
O_TARGET := atyfb.o O_TARGET := built-in.o
export-objs := atyfb_base.o mach64_accel.o export-objs := atyfb_base.o mach64_accel.o
obj-y := atyfb_base.o mach64_accel.o obj-$(CONFIG_FB_ATY) += atyfb.o
obj-$(CONFIG_FB_ATY_GX) += mach64_gx.o
obj-$(CONFIG_FB_ATY_CT) += mach64_ct.o mach64_cursor.o atyfb-y := atyfb_base.o mach64_accel.o
obj-m := $(O_TARGET) atyfb-$(CONFIG_FB_ATY_GX) += mach64_gx.o
atyfb-$(CONFIG_FB_ATY_CT) += mach64_ct.o mach64_cursor.o
atyfb-objs := $(atyfb-y)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# 5 Aug 1999, James Simmons, <mailto:jsimmons@edgeglobal.com> # 5 Aug 1999, James Simmons, <mailto:jsimmons@edgeglobal.com>
# Rewritten to use lists instead of if-statements. # Rewritten to use lists instead of if-statements.
O_TARGET := matrox.o O_TARGET := built-in.o
# All of the (potential) objects that export symbols. # All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'. # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
......
# #
# Makefile for the Riva framebuffer driver # Makefile for the Riva framebuffer driver
# #
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile...
O_TARGET := rivafb.o O_TARGET := built-in.o
obj-$(CONFIG_FB_RIVA) += rivafb.o
obj-y := fbdev.o riva_hw.o accel.o rivafb-objs := fbdev.o riva_hw.o accel.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -2,12 +2,13 @@ ...@@ -2,12 +2,13 @@
# Makefile for the SiS framebuffer device driver # Makefile for the SiS framebuffer device driver
# #
O_TARGET := sisfb.o O_TARGET := built-in.o
export-objs := sis_main.o export-objs := sis_main.o
obj-y := sis_main.o init.o init301.o obj-$(CONFIG_FB_SIS) += sisfb.o
obj-m := $(O_TARGET)
sisfb-objs := sis_main.o init.o init301.o
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment