summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-09-02 04:24:32 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-09-02 04:24:32 -0500
commit010f40385fb482f83529522a6765e887b8080d95 (patch)
tree2d50018e49ce35d2b40df8ceb7ef3ea6f8bfc709
parent65779f782ff80cc80a0ff289fe65bbff6469b970 (diff)
kbuild: Fix export-objs
Fix various Makefiles to really list the objects which use EXPORT_SYMBOL. Patch by "Lightweight Patch Manager".
-rw-r--r--arch/i386/kernel/Makefile2
-rw-r--r--arch/m68k/hp300/Makefile2
-rw-r--r--arch/m68k/sun3x/Makefile2
-rw-r--r--arch/mips/au1000/common/Makefile2
-rw-r--r--arch/ppc/amiga/Makefile2
-rw-r--r--drivers/base/fs/Makefile2
-rw-r--r--drivers/block/Makefile4
-rw-r--r--drivers/char/Makefile7
-rw-r--r--drivers/char/ftape/lowlevel/Makefile2
-rw-r--r--drivers/i2c/Makefile2
-rw-r--r--drivers/ide/Makefile2
-rw-r--r--drivers/message/i2o/Makefile2
-rw-r--r--drivers/pcmcia/Makefile2
-rw-r--r--drivers/video/Makefile7
-rw-r--r--fs/partitions/Makefile2
-rw-r--r--net/802/Makefile2
-rw-r--r--net/ipv4/netfilter/Makefile2
-rw-r--r--net/ipx/Makefile2
18 files changed, 21 insertions, 27 deletions
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index b4705a70ab3c..e8b33c53ddd7 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -6,7 +6,7 @@ EXTRA_TARGETS := kernel.o head.o init_task.o
O_TARGET := kernel.o
-export-objs := mca.o msr.o i386_ksyms.o time.o
+export-objs := mca.o i386_ksyms.o time.o
obj-y := process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o \
diff --git a/arch/m68k/hp300/Makefile b/arch/m68k/hp300/Makefile
index 29decf03d3d0..5b7021cfcb6a 100644
--- a/arch/m68k/hp300/Makefile
+++ b/arch/m68k/hp300/Makefile
@@ -9,8 +9,6 @@
O_TARGET := hp300.o
-export-objs := ksyms.o
-
obj-y := ksyms.o config.o ints.o time.o reboot.o
obj-$(CONFIG_VT) += hil.o
diff --git a/arch/m68k/sun3x/Makefile b/arch/m68k/sun3x/Makefile
index 6c6c5eda4e07..2877c87fed9f 100644
--- a/arch/m68k/sun3x/Makefile
+++ b/arch/m68k/sun3x/Makefile
@@ -9,6 +9,8 @@
O_TARGET := sun3x.o
+export-objs := sun3x_ksyms.o
+
obj-y := config.o time.o dvma.o prom.o
include $(TOPDIR)/Rules.make
diff --git a/arch/mips/au1000/common/Makefile b/arch/mips/au1000/common/Makefile
index d41c1a83c8e7..41b01b04168b 100644
--- a/arch/mips/au1000/common/Makefile
+++ b/arch/mips/au1000/common/Makefile
@@ -8,6 +8,8 @@
O_TARGET := au1000.o
+export-objs := serial.o
+
obj-y := prom.o dbg_io.o int-handler.o irq.o puts.o time.o reset.o
obj-$(CONFIG_AU1000_UART) += serial.o
diff --git a/arch/ppc/amiga/Makefile b/arch/ppc/amiga/Makefile
index e2442dba6078..fd7b7d7b6e76 100644
--- a/arch/ppc/amiga/Makefile
+++ b/arch/ppc/amiga/Makefile
@@ -11,8 +11,6 @@
O_TARGET := amiga.o
-export-objs := amiga_ksyms.o
-
obj-y := config.o amiints.o cia.o time.o bootinfo.o amisound.o \
chipram.o amiga_ksyms.o
diff --git a/drivers/base/fs/Makefile b/drivers/base/fs/Makefile
index 814a2a7e6743..d4bcde25fda2 100644
--- a/drivers/base/fs/Makefile
+++ b/drivers/base/fs/Makefile
@@ -1,5 +1,5 @@
obj-y := device.o bus.o driver.o class.o intf.o
-export-objs := device.o bus.o driver.o class.o intf.o
+export-objs := device.o bus.o driver.o class.o
include $(TOPDIR)/Rules.make
diff --git a/drivers/block/Makefile b/drivers/block/Makefile
index 75cc2b2154ce..2b40242f3ab2 100644
--- a/drivers/block/Makefile
+++ b/drivers/block/Makefile
@@ -8,8 +8,8 @@
# In the future, some of these should be built conditionally.
#
-export-objs := elevator.o ll_rw_blk.o blkpg.o loop.o genhd.o \
- block_ioctl.o acsi.o
+export-objs := elevator.o ll_rw_blk.o loop.o genhd.o acsi.o \
+ block_ioctl.o
obj-y := elevator.o ll_rw_blk.o blkpg.o genhd.o block_ioctl.o
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index 3c89fb850c2b..d1f554721d39 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -12,10 +12,9 @@ obj-y += mem.o tty_io.o n_tty.o tty_ioctl.o pty.o misc.o random.o
# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
-export-objs := busmouse.o console.o keyboard.o sysrq.o \
- misc.o pty.o random.o selection.o \
- sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o \
- ip2main.o nvram.o
+export-objs := busmouse.o console.o generic_serial.o ip2main.o \
+ ite_gpio.o misc.o nvram.o pty.o random.o rtc.o \
+ selection.o sonypi.o sysrq.o tty_io.o tty_ioctl.o
obj-$(CONFIG_VT) += vt.o vc_screen.o consolemap.o consolemap_deftbl.o selection.o keyboard.o
obj-$(CONFIG_HW_CONSOLE) += console.o defkeymap.o
diff --git a/drivers/char/ftape/lowlevel/Makefile b/drivers/char/ftape/lowlevel/Makefile
index c2676897f4b5..e600d4add694 100644
--- a/drivers/char/ftape/lowlevel/Makefile
+++ b/drivers/char/ftape/lowlevel/Makefile
@@ -23,8 +23,6 @@
# driver for Linux.
#
-export-objs := ftape_syms.o
-
obj-$(CONFIG_FTAPE) += ftape.o
ftape-objs := ftape-init.o fdc-io.o fdc-isr.o \
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 17545927964b..33ef7be099e9 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -3,7 +3,7 @@
#
export-objs := i2c-core.o i2c-algo-bit.o i2c-algo-pcf.o \
- i2c-algo-ite.o i2c-proc.o
+ i2c-algo-ite.o i2c-proc.o i2c-algo-ibm_ocp.o
obj-$(CONFIG_I2C) += i2c-core.o
obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile
index 42c807a6fb1f..6179b68b3621 100644
--- a/drivers/ide/Makefile
+++ b/drivers/ide/Makefile
@@ -7,7 +7,7 @@
# Note : at this point, these files are compiled on all systems.
# In the future, some of these should be built conditionally.
#
-export-objs := ide-taskfile.o ide.o ide-probe.o ataraid.o
+export-objs := ide-taskfile.o ide.o ide-probe.o
obj-$(CONFIG_BLK_DEV_IDE) += ide-mod.o ide-probe-mod.o
obj-$(CONFIG_BLK_DEV_IDECS) += ide-cs.o
diff --git a/drivers/message/i2o/Makefile b/drivers/message/i2o/Makefile
index 44ca1bbcc8f7..03a45ba12e50 100644
--- a/drivers/message/i2o/Makefile
+++ b/drivers/message/i2o/Makefile
@@ -5,7 +5,7 @@
# In the future, some of these should be built conditionally.
#
-export-objs := i2o_pci.o i2o_core.o i2o_config.o i2o_block.o i2o_lan.o i2o_scsi.o i2o_proc.o
+export-objs := i2o_core.o
obj-$(CONFIG_I2O_PCI) += i2o_pci.o
obj-$(CONFIG_I2O) += i2o_core.o i2o_config.o
diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile
index fdf24b66f0f0..497523e5f7b1 100644
--- a/drivers/pcmcia/Makefile
+++ b/drivers/pcmcia/Makefile
@@ -2,7 +2,7 @@
# Makefile for the kernel pcmcia subsystem (c/o David Hinds)
#
-export-objs := ds.o cs.o yenta.o sa1100_pcmcia.o
+export-objs := ds.o cs.o yenta.o sa1100_generic.o
obj-$(CONFIG_PCMCIA) += pcmcia_core.o ds.o
ifeq ($(CONFIG_CARDBUS),y)
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index daf6c861c3cb..4de70f8d4e4d 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -6,12 +6,11 @@
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
export-objs := fbmem.o fbcmap.o fbcon.o fbmon.o modedb.o \
- fbcon-afb.o fbcon-ilbm.o fbcon-accel.o \
- fbcon-vga.o fbcon-iplan2p2.o fbcon-iplan2p4.o \
+ fbcon-afb.o fbcon-ilbm.o fbcon-accel.o cyber2000fb.o \
+ fbcon-iplan2p2.o fbcon-iplan2p4.o fbgen.o \
fbcon-iplan2p8.o fbcon-vga-planes.o fbcon-cfb16.o \
fbcon-cfb2.o fbcon-cfb24.o fbcon-cfb32.o fbcon-cfb4.o \
- fbcon-cfb8.o fbcon-mfb.o fbcon-hga.o \
- cyber2000fb.o sa1100fb.o fbgen.o
+ fbcon-cfb8.o fbcon-mfb.o fbcon-hga.o
# Each configuration option enables a list of files.
diff --git a/fs/partitions/Makefile b/fs/partitions/Makefile
index c6003298ccdc..aa6f3cd8e4ee 100644
--- a/fs/partitions/Makefile
+++ b/fs/partitions/Makefile
@@ -2,7 +2,7 @@
# Makefile for the linux kernel.
#
-export-objs := check.o msdos.o
+export-objs := msdos.o
obj-y := check.o
diff --git a/net/802/Makefile b/net/802/Makefile
index cc21e2c476c0..0abaeaad1b7b 100644
--- a/net/802/Makefile
+++ b/net/802/Makefile
@@ -2,7 +2,7 @@
# Makefile for the Linux 802.x protocol layers.
#
-export-objs := p8022.o psnap.o tr.o
+export-objs := p8022.o psnap.o
obj-y := p8023.o
diff --git a/net/ipv4/netfilter/Makefile b/net/ipv4/netfilter/Makefile
index 38fd72287d16..452f0fd0658d 100644
--- a/net/ipv4/netfilter/Makefile
+++ b/net/ipv4/netfilter/Makefile
@@ -2,7 +2,7 @@
# Makefile for the netfilter modules on top of IPv4.
#
-export-objs := ip_conntrack_standalone.o ip_fw_compat.o ip_nat_standalone.o \
+export-objs := ip_conntrack_standalone.o ip_nat_standalone.o \
ip_tables.o arp_tables.o
# objects for the conntrack and NAT core (used by standalone and backw. compat)
diff --git a/net/ipx/Makefile b/net/ipx/Makefile
index 5bf1385eabd9..0c40039074f3 100644
--- a/net/ipx/Makefile
+++ b/net/ipx/Makefile
@@ -2,8 +2,6 @@
# Makefile for the Linux IPX layer.
#
-export-objs = af_ipx.o
-
obj-$(CONFIG_IPX) += ipx.o
ipx-y := af_ipx.o