Commit 1c7ddd88 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Remove remaining O_TARGET in drivers/*/Makefile

parent dc3b2a73
......@@ -189,7 +189,7 @@ endif
ifeq ($(findstring y,$(CONFIG_ARCH_CLPS7500) $(CONFIG_ARCH_L7200)),y)
SUBDIRS +=drivers/acorn/char
DRIVERS +=drivers/acorn/char/acorn-char.o
DRIVERS +=drivers/acorn/char/built-in.o
endif
MAKEBOOT =$(MAKE) -C arch/$(ARCH)/boot
......
......@@ -32,7 +32,7 @@ HEAD := arch/s390/kernel/head.o arch/s390/kernel/init_task.o
SUBDIRS := $(SUBDIRS) arch/s390/mm arch/s390/kernel arch/s390/lib \
drivers/s390 arch/s390/math-emu
CORE_FILES := arch/s390/mm/mm.o arch/s390/kernel/kernel.o $(CORE_FILES)
DRIVERS := $(DRIVERS) drivers/s390/io.o
DRIVERS := $(DRIVERS) drivers/s390/built-in.o
LIBS := $(TOPDIR)/arch/s390/lib/lib.a $(LIBS) $(TOPDIR)/arch/s390/lib/lib.a
ifeq ($(CONFIG_MATHEMU),y)
......
# s390/Makefile
# s390x/Makefile
#
# This file is included by the global makefile so that you can add your own
# architecture-specific flags and dependencies. Remember to do have actions
......@@ -33,7 +33,7 @@ HEAD := arch/s390x/kernel/head.o arch/s390x/kernel/init_task.o
SUBDIRS := $(SUBDIRS) arch/s390x/mm arch/s390x/kernel arch/s390x/lib \
drivers/s390
CORE_FILES := arch/s390x/mm/mm.o arch/s390x/kernel/kernel.o $(CORE_FILES)
DRIVERS := $(DRIVERS) drivers/s390/io.o
DRIVERS := $(DRIVERS) drivers/s390/built-in.o
LIBS := $(TOPDIR)/arch/s390x/lib/lib.a $(LIBS) $(TOPDIR)/arch/s390x/lib/lib.a
all: image listing
......
#
# Makefile for the Acorn-specific Linux kernel device drivers.
#
# 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 (not a .c file).
subdir-y := char
subdir-m := $(subdir-y)
# the BLOCK subdir is included from drivers/block now
# the SCSI subdir is included from drivers/scsi now
# the NET subdir is included from drivers/net now
include $(TOPDIR)/Rules.make
......@@ -2,14 +2,6 @@
# Makefile for the Acorn block device drivers.
#
O_TARGET := acorn-block.o
obj-y :=
obj-m :=
obj-n :=
obj- :=
export-objs :=
fd1772_mod-objs := fd1772.o fd1772dma.o
mfmhd_mod-objs := mfmhd.o mfm.o
......
#
# Makefile for the kernel character device drivers.
# Makefile for the acorn character device drivers.
#
# 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 inherited from the
# parent makes..
#
O_TARGET := acorn-char.o
# Object file lists.
obj-y :=
obj-m :=
obj-n :=
obj- :=
# All the objects that export symbols.
export-objs := mouse_rpc.o
......
......@@ -2,9 +2,8 @@
# Makefile for the kernel multimedia device drivers.
#
subdir-y := video radio
mod-subdirs := video radio
obj-y := $(join $(subdir-y),$(subdir-y:%=/%.o))
obj-y := video/ radio/
include $(TOPDIR)/Rules.make
......@@ -2,15 +2,6 @@
# Makefile for the kernel character device drivers.
#
# Object file lists.
obj-y :=
obj-m :=
obj-n :=
obj- :=
O_TARGET := radio.o
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
......
......@@ -2,15 +2,6 @@
# Makefile for the kernel character device drivers.
#
# Object file lists.
obj-y :=
obj-m :=
obj-n :=
obj- :=
O_TARGET := video.o
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
......
......@@ -5,17 +5,11 @@
# $Id: Makefile,v 1.63 2001/06/13 09:43:07 dwmw2 Exp $
obj-y += chips/chipslink.o maps/mapslink.o \
devices/devlink.o nand/nandlink.o
obj-m :=
obj-n :=
obj- :=
mod-subdirs := chips maps devices nand
export-objs := mtdcore.o mtdpart.o redboot.o bootldr.o afs.o
mod-subdirs :=
subdir-y := chips maps devices nand
subdir-m := $(subdir-y)
obj-y += chips/ maps/ devices/ nand/
# *** BIG UGLY NOTE ***
#
......
......@@ -3,8 +3,6 @@
#
# $Id: Makefile,v 1.7 2001/10/05 06:53:51 dwmw2 Exp $
O_TARGET := chipslink.o
export-objs := chipreg.o gen_probe.o
# *** BIG UGLY NOTE ***
......
......@@ -3,8 +3,6 @@
#
# $Id: Makefile,v 1.4 2001/06/26 21:10:05 spse Exp $
O_TARGET := devlink.o
# *** BIG UGLY NOTE ***
#
# The removal of get_module_symbol() and replacement with
......
......@@ -3,8 +3,6 @@
#
# $Id: Makefile,v 1.13 2001/08/16 15:16:58 rmk Exp $
O_TARGET := mapslink.o
# Chip mappings
obj-$(CONFIG_MTD_CDB89712) += cdb89712.o
obj-$(CONFIG_MTD_ARM_INTEGRATOR)+= integrator-flash.o
......
......@@ -3,8 +3,6 @@
#
# $Id: Makefile,v 1.5 2001/09/19 22:39:59 dwmw2 Exp $
O_TARGET := nandlink.o
export-objs := nand.o nand_ecc.o
nandobjs-y := nand.o
......
......@@ -2,14 +2,11 @@
# Makefile for the S/390 specific device drivers
#
O_TARGET := io.o
mod-subdirs := block char misc net
subdir-y := block char misc net
subdir-m := $(subdir-y)
obj-y := s390io.o s390mach.o s390dyn.o idals.o ccwcache.o
export-objs += ccwcache.o idals.o s390dyn.o s390io.o
obj-y += $(foreach dir,$(subdir-y),$(dir)/s390-$(dir).o)
obj-y += s390io.o s390mach.o s390dyn.o idals.o ccwcache.o
obj-y += block/ char/ misc/ net/
include $(TOPDIR)/Rules.make
......@@ -2,8 +2,6 @@
# S/390 block devices
#
O_TARGET := s390-block.o
export-objs := dasd.o
dasd_eckd_mod-objs := dasd_eckd.o dasd_3990_erp.o dasd_9343_erp.o
......
......@@ -2,8 +2,6 @@
# S/390 character devices
#
O_TARGET := s390-char.o
export-objs := hwc_rw.o
tub3270-objs := tuball.o tubfs.o tubtty.o \
......
......@@ -2,8 +2,6 @@
# S/390 miscellaneous devices
#
O_TARGET := s390-misc.o
obj-$(CONFIG_CHANDEV) += chandev.o
export-objs += chandev.o
......
......@@ -2,8 +2,6 @@
# S/390 network devices
#
O_TARGET := s390-net.o
export-objs := iucv.o fsm.o
ctc-objs := ctcmain.o ctctty.o
......
......@@ -6,16 +6,9 @@ ifneq ($(ARCH),m68k)
obj-y := sbus.o dvma.o
endif
subdir-y += char
subdir-m += char
obj-$(CONFIG_SBUSCHAR) += char/sunchar.o
mod-subdirs := char audio
subdir-y += audio
subdir-m += audio
# This is grotty but works around some problems with modules.
ifeq ($(CONFIG_SPARCAUDIO),y)
obj-y += audio/sparcaudio.o
endif
obj-$(CONFIG_SBUSCHAR) += char/
obj-$(CONFIG_SPARCAUDIO) += audio/
include $(TOPDIR)/Rules.make
......@@ -5,8 +5,6 @@
# Rewritten to use lists instead of if-statements.
#
O_TARGET := sparcaudio.o
export-objs := audio.o amd7930.o dbri.o
obj-$(CONFIG_SPARCAUDIO) += audio.o
......
......@@ -7,8 +7,6 @@
# Rewritten to use lists instead of if-statements.
#
O_TARGET := sunchar.o
export-objs := su.o bbc_i2c.o
obj-y := sunkbd.o sunkbdmap.o sunmouse.o sunserial.o zs.o
......
......@@ -5,8 +5,8 @@
#
# Character and Audio devices for SGI machines.
#
subdir-y += char
subdir-m += char
obj-y += char/sgichar.o
obj-y += char/
include $(TOPDIR)/Rules.make
#
# Makefile for the linux kernel.
#
# 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 := sgichar.o
export-objs := newport.o shmiq.o sgicons.o usema.o
obj-y := newport.o shmiq.o sgicons.o usema.o streamable.o
......
......@@ -5,60 +5,58 @@
# Object files in subdirectories
mod-subdirs := serial
subdir-$(CONFIG_USB) += core
subdir-$(CONFIG_USB_EHCI_HCD) += host
subdir-$(CONFIG_USB_OHCI_HCD) += host
subdir-$(CONFIG_USB_OHCI) += host
subdir-$(CONFIG_USB_UHCI_ALT) += host
subdir-$(CONFIG_USB_UHCI_HCD_ALT) += host
subdir-$(CONFIG_USB_UHCI_HCD) += host
subdir-$(CONFIG_USB_UHCI) += host
subdir-$(CONFIG_USB_ACM) += class
subdir-$(CONFIG_USB_AUDIO) += class
subdir-$(CONFIG_USB_BLUETOOTH_TTY) += class
subdir-$(CONFIG_USB_PRINTER) += class
subdir-$(CONFIG_USB_STORAGE) += storage
subdir-$(CONFIG_USB_HID) += input
subdir-$(CONFIG_USB_KBD) += input
subdir-$(CONFIG_USB_MOUSE) += input
subdir-$(CONFIG_USB_WACOM) += input
subdir-$(CONFIG_USB_DABUSB) += media
subdir-$(CONFIG_USB_DSBR) += media
subdir-$(CONFIG_USB_IBMCAM) += media
subdir-$(CONFIG_USB_KONICAWC) += media
subdir-$(CONFIG_USB_OV511) += media
subdir-$(CONFIG_USB_PWC) += media
subdir-$(CONFIG_USB_SE401) += media
subdir-$(CONFIG_USB_STV680) += media
subdir-$(CONFIG_USB_VICAM) += media
subdir-$(CONFIG_USB_CATC) += net
subdir-$(CONFIG_USB_CDCETHER) += net
subdir-$(CONFIG_USB_KAWETH) += net
subdir-$(CONFIG_USB_PEGASUS) += net
subdir-$(CONFIG_USB_RTL8150) += net
subdir-$(CONFIG_USB_USBNET) += net
subdir-$(CONFIG_USB_DC2XX) += image
subdir-$(CONFIG_USB_HPUSBSCSI) += image
subdir-$(CONFIG_USB_MDC800) += image
subdir-$(CONFIG_USB_MICROTEK) += image
subdir-$(CONFIG_USB_SCANNER) += image
subdir-$(CONFIG_USB_SERIAL) += serial
subdir-$(CONFIG_USB_AUERSWALD) += misc
subdir-$(CONFIG_USB_BRLVGER) += misc
subdir-$(CONFIG_USB_EMI26) += misc
subdir-$(CONFIG_USB_RIO500) += misc
subdir-$(CONFIG_USB_TIGL) += misc
subdir-$(CONFIG_USB_USS720) += misc
obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o))
obj-$(CONFIG_USB) += core/
obj-$(CONFIG_USB_EHCI_HCD) += host/
obj-$(CONFIG_USB_OHCI_HCD) += host/
obj-$(CONFIG_USB_OHCI) += host/
obj-$(CONFIG_USB_UHCI_ALT) += host/
obj-$(CONFIG_USB_UHCI_HCD_ALT) += host/
obj-$(CONFIG_USB_UHCI_HCD) += host/
obj-$(CONFIG_USB_UHCI) += host/
obj-$(CONFIG_USB_ACM) += class/
obj-$(CONFIG_USB_AUDIO) += class/
obj-$(CONFIG_USB_BLUETOOTH_TTY) += class/
obj-$(CONFIG_USB_PRINTER) += class/
obj-$(CONFIG_USB_STORAGE) += storage/
obj-$(CONFIG_USB_HID) += input/
obj-$(CONFIG_USB_KBD) += input/
obj-$(CONFIG_USB_MOUSE) += input/
obj-$(CONFIG_USB_WACOM) += input/
obj-$(CONFIG_USB_DABUSB) += media/
obj-$(CONFIG_USB_DSBR) += media/
obj-$(CONFIG_USB_IBMCAM) += media/
obj-$(CONFIG_USB_KONICAWC) += media/
obj-$(CONFIG_USB_OV511) += media/
obj-$(CONFIG_USB_PWC) += media/
obj-$(CONFIG_USB_SE401) += media/
obj-$(CONFIG_USB_STV680) += media/
obj-$(CONFIG_USB_VICAM) += media/
obj-$(CONFIG_USB_CATC) += net/
obj-$(CONFIG_USB_CDCETHER) += net/
obj-$(CONFIG_USB_KAWETH) += net/
obj-$(CONFIG_USB_PEGASUS) += net/
obj-$(CONFIG_USB_RTL8150) += net/
obj-$(CONFIG_USB_USBNET) += net/
obj-$(CONFIG_USB_DC2XX) += image/
obj-$(CONFIG_USB_HPUSBSCSI) += image/
obj-$(CONFIG_USB_MDC800) += image/
obj-$(CONFIG_USB_MICROTEK) += image/
obj-$(CONFIG_USB_SCANNER) += image/
obj-$(CONFIG_USB_SERIAL) += serial/
obj-$(CONFIG_USB_AUERSWALD) += misc/
obj-$(CONFIG_USB_BRLVGER) += misc/
obj-$(CONFIG_USB_EMI26) += misc/
obj-$(CONFIG_USB_RIO500) += misc/
obj-$(CONFIG_USB_TIGL) += misc/
obj-$(CONFIG_USB_USS720) += misc/
include $(TOPDIR)/Rules.make
......@@ -3,8 +3,6 @@
# (one step up from the misc category)
#
O_TARGET := class.o
obj-$(CONFIG_USB_ACM) += cdc-acm.o
obj-$(CONFIG_USB_AUDIO) += audio.o
obj-$(CONFIG_USB_BLUETOOTH_TTY) += bluetty.o
......
......@@ -2,8 +2,6 @@
# Makefile for USB Core files and filesystem
#
O_TARGET := core.o
export-objs := usb.o hcd.o
usbcore-objs := usb.o usb-debug.o hub.o hcd.o
......
......@@ -3,8 +3,6 @@
# framework and drivers
#
O_TARGET := host.o
obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o
obj-$(CONFIG_USB_UHCI_HCD) += usb-uhci-hcd.o
......
......@@ -2,8 +2,6 @@
# Makefile for USB Image drivers
#
O_TARGET := image.o
obj-$(CONFIG_USB_MDC800) += mdc800.o
obj-$(CONFIG_USB_HPUSBSCSI) += hpusbscsi.o
obj-$(CONFIG_USB_MICROTEK) += microtek.o
......
......@@ -2,8 +2,6 @@
# Makefile for the USB input drivers
#
O_TARGET := input.o
# Multipart objects.
hid-objs := hid-core.o
......
......@@ -2,8 +2,6 @@
# Makefile for USB Media drivers
#
O_TARGET := media.o
export-objs := ov511.o pwc-uncompress.o usbvideo.o
pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-uncompress.o
......
......@@ -3,8 +3,6 @@
# (the ones that don't fit into any other categories)
#
O_TARGET := misc.o
obj-$(CONFIG_USB_AUERSWALD) += auerswald.o
obj-$(CONFIG_USB_BRLVGER) += brlvger.o
obj-$(CONFIG_USB_EMI26) += emi26.o
......
......@@ -2,8 +2,6 @@
# Makefile for USB Network drivers
#
O_TARGET := net.o
obj-$(CONFIG_USB_CATC) += catc.o
obj-$(CONFIG_USB_CDCETHER) += cdc-ether.o
obj-$(CONFIG_USB_KAWETH) += kaweth.o
......
......@@ -2,8 +2,6 @@
# Makefile for the USB serial device drivers.
#
O_TARGET := serial.o
# Object file lists.
obj-$(CONFIG_USB_SERIAL) += usbserial.o
......
......@@ -5,7 +5,6 @@
# Rewritten to use lists instead of if-statements.
#
O_TARGET := storage.o
EXTRA_CFLAGS := -I../../scsi/
obj-$(CONFIG_USB_STORAGE) += usb-storage.o
......
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