summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/Makefile
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-05-16 14:00:47 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-05-16 14:00:47 +0000
commitf9055aeda90fec2eb7ce0c49382e51b87f6a4fc9 (patch)
tree1150c561a37fcb28c79d1b9d3288e6aea05d64d9 /arch/mips/lib/Makefile
parent840ea4e54f944971741e0bf4b1b9d9f6f417634d (diff)
Some small fixes and cleanups:
o superfluidous #ifdef __KERNEL__ in include/asm-mips/socket.h removed o we don't need a little endian version of waking_non_zero_interruptible() o arch/mips/config.in fixes and improvements o compile floppy/kbd/ide support only when the CONFIG options are set o IP22s aren't the only MIPS boxes without a PC speaker
Diffstat (limited to 'arch/mips/lib/Makefile')
-rw-r--r--arch/mips/lib/Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile
index 604847280..96d534a75 100644
--- a/arch/mips/lib/Makefile
+++ b/arch/mips/lib/Makefile
@@ -9,10 +9,10 @@
$(CC) $(CFLAGS) -c $< -o $*.o
L_TARGET = lib.a
-L_OBJS = csum_partial.o csum_partial_copy.o floppy-std.o \
- floppy-no.o ide-std.o ide-no.o kbd-std.o kbd-no.o rtc-std.o \
- rtc-no.o memcpy.o memset.o strlen_user.o strncpy_user.o \
- strnlen_user.o watch.o
+
+L_OBJS = csum_partial.o csum_partial_copy.o \
+ rtc-std.o rtc-no.o memcpy.o memset.o watch.o\
+ strlen_user.o strncpy_user.o strnlen_user.o
ifdef CONFIG_CPU_R3000
L_OBJS += r3k_dump_tlb.o
@@ -20,4 +20,16 @@ else
L_OBJS += dump_tlb.o
endif
+ifdef CONFIG_BLK_DEV_FD
+ L_OBJS += flopyy-no.o flopyy-std.o
+endif
+
+ifdef CONFIG_IDE
+ L_OBJS += ide-std.o ide-no.o
+endif
+
+ifdef CONFIG_PC_KEYB
+ L_OBJS += kbd-std.o kbd-no.o
+endif
+
include $(TOPDIR)/Rules.make