]> git.hungrycats.org Git - linux/commitdiff
kbuild: Group together descending/linking in drivers/*
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 28 May 2002 15:16:47 +0000 (10:16 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 28 May 2002 15:16:47 +0000 (10:16 -0500)
We currently decide whether we need to descend into the subdirs of
drivers/ in drivers/Makefile, but link the resulting objects from
the top-level Makefile.

Making these two decisions at the same time (in drivers/Makefile) cleans
up the top-level Makefile quite a bit.

Link order does not change at all apart from sound/, which is now linked
last.

34 files changed:
Makefile
drivers/Makefile
drivers/acpi/Makefile
drivers/atm/Makefile
drivers/base/Makefile
drivers/block/Makefile
drivers/bluetooth/Makefile
drivers/cdrom/Makefile
drivers/char/Makefile
drivers/hotplug/Makefile
drivers/i2c/Makefile
drivers/ide/Makefile
drivers/ieee1394/Makefile
drivers/input/Makefile
drivers/input/gameport/Makefile
drivers/input/serio/Makefile
drivers/isdn/Makefile
drivers/macintosh/Makefile
drivers/md/Makefile
drivers/media/Makefile
drivers/message/Makefile
drivers/misc/Makefile
drivers/mtd/Makefile
drivers/net/Makefile
drivers/parport/Makefile
drivers/pci/Makefile
drivers/pcmcia/Makefile
drivers/pnp/Makefile
drivers/sbus/Makefile
drivers/scsi/Makefile
drivers/telephony/Makefile
drivers/usb/Makefile
drivers/video/Makefile
drivers/zorro/Makefile

index fc1afa1296114c465e9ef46b3e1fa3bcad320adc..ea97e20fc064b6adcd4392bbe8bedcd5f2ae3611 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -110,56 +110,8 @@ NETWORKS   =net/network.o
 LIBS           =$(TOPDIR)/lib/lib.a
 SUBDIRS                =init kernel lib drivers mm fs net ipc sound
 
-DRIVERS-n :=
-DRIVERS-y :=
-DRIVERS-m :=
-DRIVERS-  :=
-
-DRIVERS-$(CONFIG_ACPI) += drivers/acpi/acpi.o
-DRIVERS-$(CONFIG_PCI) += drivers/pci/driver.o
-DRIVERS-$(CONFIG_PARPORT) += drivers/parport/driver.o
-DRIVERS-y += drivers/base/base.o \
-       drivers/char/char.o \
-       drivers/block/block.o \
-       drivers/misc/misc.o \
-       drivers/net/net.o \
-       drivers/media/media.o
-DRIVERS-$(CONFIG_NUBUS) += drivers/nubus/built-in.o
-DRIVERS-$(CONFIG_ATM) += drivers/atm/atm.o
-DRIVERS-$(CONFIG_IDE) += drivers/ide/idedriver.o
-DRIVERS-$(CONFIG_FC4) += drivers/fc4/built-in.o
-DRIVERS-$(CONFIG_SCSI) += drivers/scsi/scsidrv.o
-DRIVERS-$(CONFIG_FUSION) += drivers/message/message.o
-DRIVERS-$(CONFIG_IEEE1394) += drivers/ieee1394/ieee1394drv.o
-
-ifneq ($(CONFIG_CD_NO_IDESCSI)$(CONFIG_BLK_DEV_IDECD)$(CONFIG_BLK_DEV_SR)$(CONFIG_PARIDE_PCD),)
-DRIVERS-y += drivers/cdrom/driver.o
-endif
-
+DRIVERS-y      = drivers/built-in.o
 DRIVERS-$(CONFIG_SOUND) += sound/sound.o
-DRIVERS-$(CONFIG_MTD) += drivers/mtd/mtdlink.o
-DRIVERS-$(CONFIG_PCMCIA) += drivers/pcmcia/pcmcia.o
-DRIVERS-$(CONFIG_DIO) += drivers/dio/built-in.o
-DRIVERS-$(CONFIG_SBUS) += drivers/sbus/sbus_all.o
-DRIVERS-$(CONFIG_ZORRO) += drivers/zorro/driver.o
-DRIVERS-$(CONFIG_ALL_PPC) += drivers/macintosh/macintosh.o
-DRIVERS-$(CONFIG_MAC) += drivers/macintosh/macintosh.o
-DRIVERS-$(CONFIG_PNP) += drivers/pnp/pnp.o
-DRIVERS-$(CONFIG_SGI_IP22) += drivers/sgi/built-in.o
-DRIVERS-$(CONFIG_VT) += drivers/video/video.o
-DRIVERS-$(CONFIG_PARIDE) += drivers/block/paride/built-in.o
-DRIVERS-$(CONFIG_TC) += drivers/tc/built-in.o
-DRIVERS-$(CONFIG_USB) += drivers/usb/usbdrv.o
-DRIVERS-$(CONFIG_INPUT) += drivers/input/inputdrv.o
-DRIVERS-$(CONFIG_GAMEPORT) += drivers/input/gameport/gamedrv.o
-DRIVERS-$(CONFIG_SERIO) += drivers/input/serio/seriodrv.o
-DRIVERS-$(CONFIG_I2O) += drivers/message/message.o
-DRIVERS-$(CONFIG_I2C) += drivers/i2c/i2c.o
-DRIVERS-$(CONFIG_PHONE) += drivers/telephony/telephony.o
-DRIVERS-$(CONFIG_MD) += drivers/md/mddev.o
-DRIVERS-$(CONFIG_BLUEZ) += drivers/bluetooth/bluetooth.o
-DRIVERS-$(CONFIG_HOTPLUG_PCI) += drivers/hotplug/vmlinux-obj.o
-DRIVERS-$(CONFIG_ISDN) += drivers/isdn/vmlinux-obj.o
 
 DRIVERS := $(DRIVERS-y)
 
index 0591faa60339b32150997d5a2edb87e0af957a39..257042170946d62b5e4874c0487382b141764296 100644 (file)
@@ -9,43 +9,43 @@
 mod-subdirs := dio mtd sbus video macintosh usb input telephony sgi ide \
                message scsi md ieee1394 pnp isdn atm \
                fc4 i2c acpi bluetooth input/serio \
-               input/gameport parport hotplug
+               input/gameport parport hotplug \
+               base char block misc net media cdrom
 
-subdir-y :=    base char block net misc media cdrom
-subdir-m :=    $(subdir-y)
-
-subdir-$(CONFIG_PARPORT)       += parport
-subdir-$(CONFIG_HOTPLUG_PCI)   += hotplug
-subdir-$(CONFIG_DIO)           += dio
-subdir-$(CONFIG_PCI)           += pci
-subdir-$(CONFIG_PCMCIA)                += pcmcia
-subdir-$(CONFIG_MTD)           += mtd
-subdir-$(CONFIG_SBUS)          += sbus
-subdir-$(CONFIG_ZORRO)         += zorro
-subdir-$(CONFIG_NUBUS)         += nubus
-subdir-$(CONFIG_TC)            += tc
-subdir-$(CONFIG_VT)            += video
-subdir-$(CONFIG_MAC)           += macintosh
-subdir-$(CONFIG_ALL_PPC)       += macintosh
-subdir-$(CONFIG_USB)           += usb
-subdir-$(CONFIG_INPUT)         += input
-subdir-$(CONFIG_SERIO)         += input/serio
-subdir-$(CONFIG_GAMEPORT)      += input/gameport
-subdir-$(CONFIG_PHONE)         += telephony
-subdir-$(CONFIG_SGI)           += sgi
-subdir-$(CONFIG_IDE)           += ide
-subdir-$(CONFIG_SCSI)          += scsi
-subdir-$(CONFIG_I2O)           += message
-subdir-$(CONFIG_FUSION)                += message
-subdir-$(CONFIG_MD)            += md
-subdir-$(CONFIG_IEEE1394)      += ieee1394
-subdir-$(CONFIG_PNP)           += pnp
-subdir-$(CONFIG_ISDN)          += isdn
-subdir-$(CONFIG_ATM)           += atm
-subdir-$(CONFIG_FC4)           += fc4
-subdir-$(CONFIG_I2C)           += i2c
-subdir-$(CONFIG_ACPI)          += acpi
-
-subdir-$(CONFIG_BLUEZ)         += bluetooth
+obj-$(CONFIG_ACPI)             += acpi/
+obj-$(CONFIG_PCI)              += pci/
+obj-$(CONFIG_PARPORT)          += parport/
+obj-y                          += base/ char/ block/ misc/ net/ media/
+obj-$(CONFIG_NUBUS)            += nubus/
+obj-$(CONFIG_ATM)              += atm/
+obj-$(CONFIG_IDE)              += ide/
+obj-$(CONFIG_FC4)              += fc4/
+obj-$(CONFIG_SCSI)             += scsi/
+obj-$(CONFIG_FUSION)           += message/
+obj-$(CONFIG_IEEE1394)         += ieee1394/
+obj-y                          += cdrom/
+obj-$(CONFIG_MTD)              += mtd/
+obj-$(CONFIG_PCMCIA)           += pcmcia/
+obj-$(CONFIG_DIO)              += dio/
+obj-$(CONFIG_SBUS)             += sbus/
+obj-$(CONFIG_ZORRO)            += zorro/
+obj-$(CONFIG_ALL_PPC)          += macintosh/
+obj-$(CONFIG_MAC)              += macintosh/
+obj-$(CONFIG_PNP)              += pnp/
+obj-$(CONFIG_SGI)              += sgi/
+obj-$(CONFIG_VT)               += video/
+obj-$(CONFIG_PARIDE)           += block/paride/
+obj-$(CONFIG_TC)               += tc/
+obj-$(CONFIG_USB)              += usb/
+obj-$(CONFIG_INPUT)            += input/
+obj-$(CONFIG_GAMEPORT)         += input/gameport/
+obj-$(CONFIG_SERIO)            += input/serio/
+obj-$(CONFIG_I2O)              += message/
+obj-$(CONFIG_I2C)              += i2c/
+obj-$(CONFIG_PHONE)            += telephony/
+obj-$(CONFIG_MD)               += md/
+obj-$(CONFIG_BLUEZ)            += bluetooth/
+obj-$(CONFIG_HOTPLUG_PCI)      += hotplug/
+obj-$(CONFIG_ISDN)             += isdn/
 
 include $(TOPDIR)/Rules.make
index 2c0d318cce2c23fc6096b51a5e14fc905a1cce56..390917e8e087abbaf715702bf526b26526e7ff0d 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the Linux ACPI interpreter
 # 
 
-O_TARGET := acpi.o
-
 export ACPI_CFLAGS
 
 ACPI_CFLAGS    := -D_LINUX -I$(CURDIR)/include
index 053df01e72420e0ae1f40b6079400834066b209b..5549b60193e27e74cf7fec210c90c10e5d3a6c56 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the Linux network (ATM) device drivers.
 #
 
-O_TARGET := atm.o
-
 export-objs := uPD98402.o suni.o idt77105.o
 
 obj-y := atmdev_init.o
index 3ff40bf56fc651436b58f8e9bdd7b8ae10e02c8b..94756ce763e080767d48cbf7210b087b5583fb8d 100644 (file)
@@ -1,4 +1,4 @@
-O_TARGET       := base.o
+# Makefile for the Linux device tree
 
 obj-y          := core.o sys.o interface.o fs.o power.o
 
index 87d951cc28a1106d597621dc6baa6d416d0ff021..88eb4e45764411e68c0bba72e753474a3577b962 100644 (file)
@@ -8,8 +8,6 @@
 # In the future, some of these should be built conditionally.
 #
 
-O_TARGET := block.o
-
 export-objs    := elevator.o ll_rw_blk.o blkpg.o loop.o DAC960.o genhd.o block_ioctl.o
 
 obj-y  := elevator.o ll_rw_blk.o blkpg.o genhd.o block_ioctl.o
@@ -33,6 +31,4 @@ obj-$(CONFIG_BLK_DEV_DAC960)  += DAC960.o
 obj-$(CONFIG_BLK_DEV_UMEM)     += umem.o
 obj-$(CONFIG_BLK_DEV_NBD)      += nbd.o
 
-subdir-$(CONFIG_PARIDE) += paride
-
 include $(TOPDIR)/Rules.make
index db1e9ec2770b679a3113150a85c16fe7bec922bd..ada41c6689a42ec497a2ee25c4bd199faeb6061d 100644 (file)
@@ -2,21 +2,14 @@
 # Makefile for Bluetooth HCI device drivers.
 #
 
-O_TARGET       := bluetooth.o
-
-list-multi     := hci_uart.o
-
 obj-$(CONFIG_BLUEZ_HCIUSB)     += hci_usb.o
 obj-$(CONFIG_BLUEZ_HCIVHCI)    += hci_vhci.o
-
 obj-$(CONFIG_BLUEZ_HCIUART)    += hci_uart.o
-uart-y                         := hci_ldisc.o
-uart-$(CONFIG_BLUEZ_HCIUART_H4)        += hci_h4.o
-
 obj-$(CONFIG_BLUEZ_HCIDTL1)    += dtl1_cs.o
 obj-$(CONFIG_BLUEZ_HCIBLUECARD)        += bluecard_cs.o
 
-include $(TOPDIR)/Rules.make
+hci_uart-y                             := hci_ldisc.o
+hci_uart-$(CONFIG_BLUEZ_HCIUART_H4)    += hci_h4.o
+hci_uart-objs                          := $(hci_uart-y)
 
-hci_uart.o: $(uart-y)
-       $(LD) -r -o $@ $(uart-y)
+include $(TOPDIR)/Rules.make
index 21f402d49ef0310192e03285a61f103d0ba65edf..f7def1b920e90771c44f2ea363e920a63fb4224e 100644 (file)
@@ -3,9 +3,6 @@
 # 30 Jan 1998, Michael Elizabeth Chastain, <mailto:mec@shout.net>
 # Rewritten to use lists instead of if-statements.
 
-O_TARGET       := driver.o
-
-
 # All of the (potential) objects that export symbols.
 # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
 
index 2789d71fc9e5eb148c5d5c050859a62b117c2cdd..c8e5ad622e560c6a03e1dee0b4073c0c2257162d 100644 (file)
@@ -7,8 +7,6 @@
 #
 FONTMAPFILE = cp437.uni
 
-O_TARGET := char.o
-
 obj-y   += mem.o tty_io.o n_tty.o tty_ioctl.o raw.o pty.o misc.o random.o
 
 # All of the (potential) objects that export symbols.
index eff79bdfd691daca18a3ca21f4f8e124636ba700..36ab600d125c46370377c9d6d1666f1e8b397cf3 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the Linux kernel pci hotplug controller drivers.
 #
 
-O_TARGET       := vmlinux-obj.o
-
 export-objs    := pci_hotplug_core.o pci_hotplug_util.o
 
 obj-$(CONFIG_HOTPLUG_PCI)              += pci_hotplug.o
index 5bd254afd23ed18ece2860a90bd78fd2977b9aa4..17545927964bd062c125361a60fadc7181dd328b 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the kernel i2c bus driver.
 #
 
-O_TARGET := i2c.o
-
 export-objs    := i2c-core.o i2c-algo-bit.o i2c-algo-pcf.o \
                   i2c-algo-ite.o i2c-proc.o
 
index 74802f1c314a016f64fba07cc147d5f557b8279b..4ebb6136e7256abe47e808e7392557315c70343a 100644 (file)
@@ -8,15 +8,9 @@
 # In the future, some of these should be built conditionally.
 #
 
-O_TARGET := idedriver.o
-
 export-objs    := ide-taskfile.o ide.o ide-features.o ide-probe.o quirks.o pcidma.o tcq.o \
                   atapi.o ataraid.o
 
-obj-y          :=
-obj-m          :=
-ide-obj-y      :=
-
 obj-$(CONFIG_BLK_DEV_HD)       += hd.o
 obj-$(CONFIG_BLK_DEV_IDE)       += ide-mod.o
 obj-$(CONFIG_BLK_DEV_IDECS)     += ide-cs.o
index b80c81a2d6d81519e6ace375e28f1c8a31d88ac9..59d51d5e518ecce6cee2823e2dff4fc797cf768e 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the Linux IEEE 1394 implementation
 #
 
-O_TARGET := ieee1394drv.o
-
 export-objs := ieee1394_core.o ohci1394.o cmp.o
 
 ieee1394-objs := ieee1394_core.o ieee1394_transactions.o hosts.o \
index 688cca9800d30f641beebe1d2e80ce5a50a4a985..90e158f6bd5529de001b948bcd25f09ef17b8a8f 100644 (file)
@@ -2,10 +2,6 @@
 # Makefile for the input core drivers.
 #
 
-# The target object and module list name.
-
-O_TARGET       := inputdrv.o
-
 # Objects that export symbols.
 
 mod-subdirs    := joystick
index a15bcbbef2bb122f08eac2b90f315216bfa18844..60509253a031da0c10c542b9b7853a42f828534d 100644 (file)
@@ -2,10 +2,6 @@
 # Makefile for the gameport drivers.
 #
 
-# The target object and module list name.
-
-O_TARGET       := gamedrv.o
-
 # Objects that export symbols.
 
 export-objs    := gameport.o
index 9287af0baf71a65a7064795c2359151befb964be..5865d9be9059cdb62632a0693fc5260353d834a1 100644 (file)
@@ -2,10 +2,6 @@
 # Makefile for the input core drivers.
 #
 
-# The target object and module list name.
-
-O_TARGET       := seriodrv.o
-
 # Objects that export symbols.
 
 export-objs    := serio.o
index ef3362723579d0fdc322e06d16d3ca79cf296555..b36f539adaca3c65105914e89d6fe360b7b874d3 100644 (file)
@@ -1,9 +1,5 @@
 # Makefile for the kernel ISDN subsystem and device drivers.
 
-# The target object and module list name.
-
-O_TARGET       := vmlinux-obj.o
-
 # Object files in subdirectories
 
 mod-subdirs                            := i4l hisax capi eicon
index 64287cc819a6229a017b3b077af4af203f9c9007..81e5c57c3a10a73078d7000d01b5a33c1ea9d8a1 100644 (file)
@@ -1,17 +1,6 @@
 #
 # Makefile for the Macintosh-specific 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..
-#
-
-# The target object and module list name.
-
-O_TARGET       := macintosh.o
 
 # Objects that export symbols.
 
index 61e60fa447357619ae4b1150ea17d5ca2156820e..31c60da452618e022db30f77e1afbfdfa026f5fe 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the kernel software RAID and LVM drivers.
 #
 
-O_TARGET       := mddev.o
-
 export-objs    := md.o xor.o
 lvm-mod-objs   := lvm.o lvm-snap.o lvm-fs.o
 
index 4f89d208ad37986cfd789d5a33680e51cad7e2cd..1d77df0d9cc203b8c792f647b58c4c47e4e34594 100644 (file)
@@ -1,18 +1,10 @@
 #
 # Makefile for the kernel multimedia 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..
-#
 
 subdir-y     := video radio
 mod-subdirs  := video radio
 
-O_TARGET     := media.o
 obj-y        := $(join $(subdir-y),$(subdir-y:%=/%.o))
 
 include $(TOPDIR)/Rules.make
index 74d1b201f0522dd25d72a949b4bbc3f11c7d4228..743f5d1acab4e9c411710a496e0fedcd20162ac8 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for MPT based block devices
 #
 
-O_TARGET := message.o
-
 mod-subdirs := i2o fusion 
 
 obj-$(CONFIG_I2O)      += i2o/
index b77e846ef0aac4b273a76376b2560cef7bc34a2d..dc7ec8baee122d4ac3fa5ddcc083f436a86ed879 100644 (file)
@@ -1,16 +1,5 @@
 #
 # Makefile for misc devices that really don't fit anywhere else.
 #
-# 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 := misc.o
 
 include $(TOPDIR)/Rules.make
-
-fastdep:
index fb2a81aafdddc31eb0748691b6236738b3936d05..8788e41aa93b0b027738ca7429d4110135f2bbe4 100644 (file)
@@ -11,8 +11,6 @@ obj-m           :=
 obj-n           :=
 obj-            :=
 
-O_TARGET       := mtdlink.o
-
 export-objs    := mtdcore.o mtdpart.o redboot.o bootldr.o afs.o
 
 mod-subdirs    := 
index b80a351ece9b2a7412a6e37f83b32bbe0c6a5536..60cfc470da501960fca3983c61d3f39b5cc392e7 100644 (file)
@@ -1,18 +1,10 @@
-# File: drivers/net/Makefile
 #
 # Makefile for the Linux network (ethercard) device drivers.
 #
 
-obj-y           :=
-obj-m           :=
-obj-n           :=
-obj-            :=
-
 mod-subdirs     := appletalk arcnet fc irda tokenring tulip pcmcia wireless \
                   wan ../acorn/net
 
-O_TARGET := net.o
-
 # All of the (potential) objects that export symbols.
 # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
 
index 33f94ed7b63fb2809124b5257d3385c185ef7011..f0d3a3b1692584607d67f7d0e86d6ef33bdbbdf6 100644 (file)
@@ -1,15 +1,6 @@
 #
 # Makefile for the kernel Parallel port device drivers.
 #
-# Note! Parport is the Borg.  We have assimilated some other
-# drivers in the `char', `net' and `scsi' directories,
-# but left them there to allay suspicion.
-#
-# 7 October 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
-# Rewritten to use lists instead of if-statements.
-#
-
-O_TARGET := driver.o
 
 export-objs    := init.o parport_pc.o
 
index 39c30d5790d68609ff9ec47223474fb72abb576c..3752e54f42f04cbc602d98fc23c2d4103f3180f9 100644 (file)
@@ -1,15 +1,6 @@
 #
 # Makefile for the PCI bus specific 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 definition is now inherited from the
-# parent makefile.
-#
-
-O_TARGET := driver.o
 
 export-objs := access.o hotplug.o pci-driver.o pci.o pool.o probe.o proc.o search.o
 
index 2dae24ccdcf3a9b990d79aafea2ffcd80ebd6915..a0ca2320a09df816f5aec6b7170d14a5deb4bac3 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the kernel pcmcia subsystem (c/o David Hinds)
 #
 
-O_TARGET := pcmcia.o
-
 export-objs := ds.o cs.o yenta.o pci_socket.o
 
 obj-$(CONFIG_PCMCIA)                   += pcmcia_core.o ds.o
index 84b49924f679294316a11b93f9922fa888280fcb..34c4129290ddbe7355a4431d0e32942ccc426990 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the kernel Plug-and-Play device drivers.
 #
 
-O_TARGET := pnp.o
-
 export-objs := isapnp.o pnpbios_core.o
 
 isa-pnp-proc-$(CONFIG_PROC_FS) = isapnp_proc.o
index c660b524777b6868077d45b41ebbdcab73de2ab4..4e7dea663ab4a0362ccf57274566ddbc13425c6d 100644 (file)
@@ -1,13 +1,7 @@
 #
 # 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 := sbus_all.o
 ifneq ($(ARCH),m68k)
 obj-y    := sbus.o dvma.o
 endif
index 383debd24e99d367d943c96e56afd68eaf7a17cd..7bb214700e8f5bea9609e0347f551b002cf9a028 100644 (file)
@@ -18,9 +18,6 @@ CFLAGS_aha152x.o =   -DAHA152X_STAT -DAUTOCONF
 CFLAGS_gdth.o    = # -DDEBUG_GDTH=2 -D__SERIAL__ -D__COM2__ -DGDTH_STATISTICS
 CFLAGS_seagate.o =   -DARBITRATE -DPARITY -DSEAGATE_USE_ASM
 
-
-O_TARGET := scsidrv.o
-
 export-objs    := scsi_syms.o 53c700.o
 mod-subdirs    := pcmcia ../acorn/scsi
 
index e8375c96fc606f8f4cb197ff626921fb5a1b79e0..daf23619420464b20d1be2beb90955b278059ab4 100644 (file)
@@ -1,22 +1,12 @@
 #
 # Makefile for drivers/telephony
 #
-# 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).
-#
 
-obj-y   :=
-obj-n   :=
-obj-m   :=
-obj-    :=
 export-objs := phonedev.o ixj.o
 
 obj-$(CONFIG_PHONE) += phonedev.o
 obj-$(CONFIG_PHONE_IXJ) += ixj.o
 obj-$(CONFIG_PHONE_IXJ_PCMCIA) += ixj_pcmcia.o
 
-O_TARGET := telephony.o
-
 include $(TOPDIR)/Rules.make
 
index c4549b871006458e2c4b59dc60b4a4dade465a1f..df1340c542ff1b46e414ba9606c23b7b2d7da2c5 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the kernel USB device drivers.
 #
 
-O_TARGET       := usbdrv.o
-
 # Object files in subdirectories
 mod-subdirs    := serial
 
index c1bfd07409e660f27a7f210b3c39560e8cb17a72..4ae8ed9a16f9275a01b736475aadbd7cad8ca57b 100644 (file)
@@ -2,8 +2,6 @@
 # 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
 # Rewritten to use lists instead of if-statements.
 
-O_TARGET := video.o
-
 mod-subdirs    := matrox
 
 # All of the (potential) objects that export symbols.
index f5a035c9b769e2b15aa64b788454e5391364ed96..0e35d7b20ceab14b641f769e22d4a797a947cf55 100644 (file)
@@ -1,15 +1,6 @@
 #
 # Makefile for the Zorro bus specific 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 definition is now inherited from the
-# parent makefile.
-#
-
-O_TARGET := driver.o
 
 export-objs            := zorro.o