diff options
Diffstat (limited to 'arch/mips/lib/Makefile')
-rw-r--r-- | arch/mips/lib/Makefile | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index 56279fb3e..ac3cf45ad 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -1,33 +1,25 @@ # # Makefile for MIPS-specific library files.. # +# Some of these routines are just left over debugging trash of ancient +# times when I just could make my Tyne beep and so ... +# +# ...and for when I need to get the DECStation to use the boot prom to +# do things... Paul M. Antoine. +# -.c.s: - $(CC) $(CFLAGS) -S $< -.s.o: - $(AS) $(ASFLAGS) -o $*.o $< -.c.o: - $(CC) $(CFLAGS) -c $< .S.s: $(CPP) $(CFLAGS) $< -o $*.s .S.o: $(CC) $(CFLAGS) -c $< -o $*.o -OBJS = dump_tlb.o tinycon.o watch.o - -include ../../../.config - -lib.a: $(OBJS) - $(AR) rcs lib.a $(OBJS) - sync - -dep: - $(CPP) -M *.[cS] > .depend - -# -# include a dependency file if one exists -# -ifeq (.depend,$(wildcard .depend)) -include .depend +L_TARGET = lib.a +L_OBJS = beep.o bitags.o checksum.o csum.o dump_tlb.o io.o memmove.o \ + strncpy_user.o strlen_user.o watch.o +ifdef CONFIG_MIPS_DECSTATION +L_OBJS += pmaxcon.o pmaxio.o +else +L_OBJS += tinycon.o endif +include $(TOPDIR)/Rules.make |