Commit 997b557c authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Remove mod-subdirs variable

mod-subdirs was used to list directories that we needed to descend into 
during 'make modules' even though they were listed in subdir-y (not -m).

Since we now only do one pass for modules and built-in, it's not necessary
anymore and can go away.
parent 7ef17402
......@@ -5,13 +5,6 @@
# Rewritten to use lists instead of if-statements.
#
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 \
base char block misc net media cdrom
obj-$(CONFIG_PCI) += pci/
obj-$(CONFIG_ACPI) += acpi/
obj-$(CONFIG_PARPORT) += parport/
......
......@@ -17,8 +17,6 @@ export-objs := busmouse.o console.o keyboard.o sysrq.o \
sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o \
ip2main.o
mod-subdirs := ftape drm pcmcia
KEYMAP =defkeymap.o
KEYBD =pc_keyb.o
CONSOLE =console.o
......
......@@ -4,7 +4,6 @@
# Objects that export symbols.
mod-subdirs := joystick
export-objs := input.o
# Each configuration option enables a list of files.
......
......@@ -2,8 +2,6 @@
# Object files in subdirectories
mod-subdirs := i4l hisax capi eicon
obj-$(CONFIG_ISDN) += i4l/
obj-$(CONFIG_ISDN_CAPI) += capi/
obj-$(CONFIG_ISDN_CAPI) += hardware/
......
......@@ -2,7 +2,6 @@
# Object files in subdirectories
mod-subdirs := avm
obj-$(CONFIG_CAPI_AVM) += avm/
# The global Rules.make.
......
......@@ -2,8 +2,6 @@
# Makefile for the kernel multimedia device drivers.
#
mod-subdirs := video radio
obj-y := video/ radio/
include $(TOPDIR)/Rules.make
......@@ -2,8 +2,6 @@
# Makefile for MPT based block devices
#
mod-subdirs := i2o fusion
obj-$(CONFIG_I2O) += i2o/
obj-$(CONFIG_FUSION) += fusion/
......
......@@ -4,9 +4,6 @@
#
# $Id: Makefile,v 1.63 2001/06/13 09:43:07 dwmw2 Exp $
mod-subdirs := chips maps devices nand
export-objs := mtdcore.o mtdpart.o redboot.o bootldr.o afs.o
obj-y += chips/ maps/ devices/ nand/
......
......@@ -2,9 +2,6 @@
# Makefile for the Linux network (ethercard) device drivers.
#
mod-subdirs := appletalk arcnet fc irda tokenring tulip pcmcia wireless \
wan ../acorn/net
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
......
......@@ -2,12 +2,9 @@
# Makefile for the S/390 specific device drivers
#
mod-subdirs := block char misc net scsi cio
export-objs += s390dyn.o
export-objs := s390dyn.o qdio.o
obj-$(CONFIG_QDIO) += qdio.o
export-objs += qdio.o
obj-y += s390mach.o s390dyn.o sysinfo.o
obj-y += block/ char/ misc/ net/ scsi/ cio/
......
......@@ -6,8 +6,6 @@ ifneq ($(ARCH),m68k)
obj-y := sbus.o dvma.o
endif
mod-subdirs := char audio
obj-$(CONFIG_SBUSCHAR) += char/
obj-$(CONFIG_SPARCAUDIO) += audio/
......
......@@ -19,8 +19,6 @@ CFLAGS_gdth.o = # -DDEBUG_GDTH=2 -D__SERIAL__ -D__COM2__ -DGDTH_STATISTICS
CFLAGS_seagate.o = -DARBITRATE -DPARITY -DSEAGATE_USE_ASM
export-objs := scsi_syms.o 53c700.o
mod-subdirs := pcmcia ../acorn/scsi
subdir-$(CONFIG_PCMCIA) += pcmcia
......
......@@ -3,7 +3,6 @@
#
# Object files in subdirectories
mod-subdirs := serial
obj-$(CONFIG_USB) += core/
......
......@@ -2,8 +2,6 @@
# 5 Aug 1999, James Simmons, <mailto:jsimmons@users.sf.net>
# Rewritten to use lists instead of if-statements.
mod-subdirs := matrox
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
......
......@@ -9,7 +9,6 @@ O_TARGET := fs.o
export-objs := filesystems.o open.o dcache.o buffer.o bio.o inode.o dquot.o \
mpage.o
mod-subdirs := nls
obj-y := open.o read_write.o devices.o file_table.o buffer.o \
bio.o super.o block_dev.o char_dev.o stat.o exec.o pipe.o \
......
......@@ -7,7 +7,6 @@
O_TARGET := network.o
mod-subdirs := ipv4 ipv4/netfilter ipv6/netfilter ipx irda bluetooth atm netlink sched
export-objs := netsyms.o
obj-y := socket.o core/
......
......@@ -5,8 +5,6 @@ O_TARGET := sound.o
export-objs := sound_core.o
mod-subdirs := oss core i2c drivers isa pci ppc synth
obj-$(CONFIG_SOUND) += soundcore.o
obj-$(CONFIG_SOUND_PRIME) += oss/
obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/
......
......@@ -5,8 +5,6 @@
export-objs := sound.o pcm.o pcm_lib.o rawmidi.o timer.o rtctimer.o hwdep.o
mod-subdirs := oss seq
snd-objs := sound.o init.o isadma.o memory.o info.o control.o misc.o \
device.o wrappers.o
ifeq ($(CONFIG_SND_OSSEMUL),y)
......
......@@ -3,8 +3,6 @@
# Copyright (c) 1999 by Jaroslav Kysela <perex@suse.cz>
#
mod-subdirs := instr
obj-$(CONFIG_SND) += instr/
obj-$(CONFIG_SND_SEQUENCER_OSS) += oss/
......
......@@ -3,8 +3,6 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
mod-subdirs := opl3 mpu401
snd-dummy-objs := dummy.o
snd-mtpav-objs := mtpav.o
snd-serial-u16550-objs := serial-u16550.o
......
......@@ -3,8 +3,6 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
mod-subdirs := l3
export-objs := i2c.o cs8427.o tea6330t.o
snd-i2c-objs := i2c.o
......
......@@ -3,8 +3,6 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
mod-subdirs := ad1816a ad1848 cs423x es1688 gus opti9xx sb wavefront
snd-als100-objs := als100.o
snd-azt2320-objs := azt2320.o
snd-cmi8330-objs := cmi8330.o
......
......@@ -3,8 +3,6 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
mod-subdirs := ac97 ali5451 cs46xx emu10k1 korg1212 nm256 rme9652 trident ymfpci
snd-als4000-objs := als4000.o
snd-cmipci-objs := cmipci.o
snd-cs4281-objs := cs4281.o
......
......@@ -3,8 +3,6 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#
mod-subdirs := emux
export-objs := util_mem.o
snd-util-mem-objs := util_mem.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