]> git.neil.brown.name Git - history.git/commitdiff
kbuild: Fix export-objs
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 2 Sep 2002 09:24:32 +0000 (04:24 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 2 Sep 2002 09:24:32 +0000 (04:24 -0500)
Fix various Makefiles to really list the objects which use EXPORT_SYMBOL.

Patch by "Lightweight Patch Manager".

18 files changed:
arch/i386/kernel/Makefile
arch/m68k/hp300/Makefile
arch/m68k/sun3x/Makefile
arch/mips/au1000/common/Makefile
arch/ppc/amiga/Makefile
drivers/base/fs/Makefile
drivers/block/Makefile
drivers/char/Makefile
drivers/char/ftape/lowlevel/Makefile
drivers/i2c/Makefile
drivers/ide/Makefile
drivers/message/i2o/Makefile
drivers/pcmcia/Makefile
drivers/video/Makefile
fs/partitions/Makefile
net/802/Makefile
net/ipv4/netfilter/Makefile
net/ipx/Makefile

index b4705a70ab3cd0b9ef9147458bf2d4a487d171e0..e8b33c53ddd7cf6870140ed90e530cba29b66d96 100644 (file)
@@ -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 \
index 29decf03d3d0688b975fe811a4c0d34abccad13e..5b7021cfcb6a08ccedd95bd6daddb74d4db5294a 100644 (file)
@@ -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
index 6c6c5eda4e074bcfa186bc529fdf3a40bc7f7c4d..2877c87fed9f832fdd1215dc2d2a9fc1460dbf86 100644 (file)
@@ -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
index d41c1a83c8e74b0b3f1327db862c350b0b5c35ee..41b01b04168b1b9bda69332008b74e0b81381470 100644 (file)
@@ -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             
index e2442dba6078c97960769d95e8e9fe7990180e4c..fd7b7d7b6e76b47701ce13c89c4f8be00bdbc98b 100644 (file)
@@ -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
 
index 814a2a7e6743ea38510b7ec2f565d811c8df2957..d4bcde25fda249d2254acffad793e705e0e3edcf 100644 (file)
@@ -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
index 75cc2b2154ce1b30ec36771c110b3928642a0851..2b40242f3ab2e66eb5926bbb46382ad494c8fbaa 100644 (file)
@@ -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
 
index 3c89fb850c2b811f5707af68f516d3144cf3cf92..d1f554721d3968ad105ce669415e08197ff3b3c4 100644 (file)
@@ -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
index c2676897f4b55a983b5055c4656e7831ba657658..e600d4add694ea84dc1d37683742fa570b234b01 100644 (file)
@@ -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 \
index 17545927964bd062c125361a60fadc7181dd328b..33ef7be099e97003561e1e664aef2428377d8509 100644 (file)
@@ -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
index 42c807a6fb1f6faeb692ea0637e0baeb9a9ef286..6179b68b362199393406c00f7b6b78cb6f0b2117 100644 (file)
@@ -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
index 44ca1bbcc8f7561a3dac77918e4ce0a92f8b1281..03a45ba12e509dea9b1e5e0a4e66b09ba94f62f6 100644 (file)
@@ -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
index fdf24b66f0f03c7f8746d461e0c22778ef7561de..497523e5f7b1c6743f7d71322311435bebfcb04f 100644 (file)
@@ -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)
index daf6c861c3cb80c3368160a51be279b5c233bed7..4de70f8d4e4d7c68a34e62d99bc0cb8daf9e540d 100644 (file)
@@ -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.
 
index c6003298ccdc7e97da57f7757879064432396564..aa6f3cd8e4ee7038d4ee640d9679707509ee314b 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile for the linux kernel.
 #
 
-export-objs := check.o msdos.o
+export-objs := msdos.o
 
 obj-y := check.o
 
index cc21e2c476c0ff98fc5f5bef4a8a8d2bbeea04e9..0abaeaad1b7bef9062b8c399e8f43b754938fa6f 100644 (file)
@@ -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
 
index 38fd72287d16e9c05dc026666f37dd1e0bf9b64d..452f0fd0658dddb2c88d2df659d4356862a5363c 100644 (file)
@@ -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)
index 5bf1385eabd98fdb9d5bb0e156c26ad53f1f9954..0c40039074f366127409ba371d3fcf9d58e89aa5 100644 (file)
@@ -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