diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-28 23:25:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-28 23:25:48 +0000 |
commit | 7e91f5664416804f1afdb336e41fd43a2c18035e (patch) | |
tree | 18526b88f8c354bdb2b86fc88631cb42cff943ce /sys/arch | |
parent | 3d4ee810c28afd488fcfd4725966c99607bda0fc (diff) |
use ld.kern (XXX)
don't try to link ${LIBKERN} into the kernel twice
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/pica/conf/Makefile.pica | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/pica/conf/Makefile.pica b/sys/arch/pica/conf/Makefile.pica index 6fc55e2d6ad..77cba303832 100644 --- a/sys/arch/pica/conf/Makefile.pica +++ b/sys/arch/pica/conf/Makefile.pica @@ -29,6 +29,8 @@ TOUCH= touch -f -c S= ../../../.. PICA= ../.. +LD=ld.kern + INCLUDES= -I. -I$S/arch -I$S -I$S/sys COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpica -D__NetBSD__ ${GP} \ -mips2 -mcpu=r4000 @@ -90,9 +92,9 @@ SYSTEM_LD= -@if [ X${DEBUG} = X-g ]; \ else strip=-x; \ fi; \ echo ${LD} $$strip -N -o $@ -e start -Ttext 80080000 \ - '$${SYSTEM_OBJ}' vers.o $(LIBKERN); \ + '$${SYSTEM_OBJ}' vers.o; \ ${LD} $$strip -N -o $@ -e start -Ttext 80080000 \ - ${SYSTEM_OBJ} vers.o $(LIBKERN) + ${SYSTEM_OBJ} vers.o #SYSTEM_LD_TAIL= @echo rearranging symbols;\ # symorder symbols.sort $@;\ #SYSTEM_LD_TAIL= @size $@; chmod 755 $@; \ |