diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-18 00:30:53 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 11:10:28 +0200 |
commit | e3b08600902e119b34ca03c4aaf99bde4b173dde (patch) | |
tree | 24080adf9617d81e02f426a72913de8cff58738d /arch/sh/lib/Makefile | |
parent | sh dreamcast: export board_pci_channels (diff) | |
download | linux-e3b08600902e119b34ca03c4aaf99bde4b173dde.tar.xz linux-e3b08600902e119b34ca03c4aaf99bde4b173dde.zip |
move arch/sh/lib/io.o to obj-y
EXPORT_SYMBOL's in lib-y considered harmful:
<-- snip -->
...
MODPOST 1837 modules
ERROR: "__raw_readsl" [drivers/ssb/ssb.ko] undefined!
ERROR: "__raw_writesl" [drivers/ssb/ssb.ko] undefined!
ERROR: "__raw_writesl" [drivers/net/smc91x.ko] undefined!
ERROR: "__raw_readsl" [drivers/net/smc91x.ko] undefined!
ERROR: "__raw_writesl" [drivers/net/3c59x.ko] undefined!
ERROR: "__raw_readsl" [drivers/net/3c59x.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib/Makefile')
-rw-r--r-- | arch/sh/lib/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/lib/Makefile b/arch/sh/lib/Makefile index ebb55d1149f5..8596cc78e18d 100644 --- a/arch/sh/lib/Makefile +++ b/arch/sh/lib/Makefile @@ -2,9 +2,11 @@ # Makefile for SuperH-specific library files.. # -lib-y = delay.o io.o memset.o memmove.o memchr.o \ +lib-y = delay.o memset.o memmove.o memchr.o \ checksum.o strlen.o div64.o div64-generic.o +obj-y += io.o + memcpy-y := memcpy.o memcpy-$(CONFIG_CPU_SH4) := memcpy-sh4.o |