From 5b7db11d478192c5908038bb1345e7d51cc35c8e Mon Sep 17 00:00:00 2001 From: rahnds Date: Mon, 5 May 1997 16:47:15 +0000 Subject: [PATCH] only build one version of the libraries. --- sys/arch/powerpc/stand/ofwboot/Makefile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/sys/arch/powerpc/stand/ofwboot/Makefile b/sys/arch/powerpc/stand/ofwboot/Makefile index 9cc424b1083..92a5922ef03 100644 --- a/sys/arch/powerpc/stand/ofwboot/Makefile +++ b/sys/arch/powerpc/stand/ofwboot/Makefile @@ -28,25 +28,11 @@ CPPFLAGS+= -DFIRMWORKSBUGS CPPFLAGS+= -DPOWERPC_BOOT_ELF CPPFLAGS+= -DXCOFF_GLUE # for booting PCI Powermacs -### find out what to use for libkern -KERN_AS= library -.include "${S}/lib/libkern/Makefile.inc" -LIBKERN= ${KERNLIB} - -### find out what to use for libz -Z_AS= library -.include "${S}/lib/libz/Makefile.inc" -LIBZ= ${ZLIB} - -### find out what to use for libsa -SA_AS= library -SAMISCMAKEFLAGS= SA_USE_CREAD=yes -.include "${S}/lib/libsa/Makefile.inc" -LIBSA= ${SALIB} +LIBS!= cd $(.CURDIR)/$(R); $(MAKE) libdep ${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LD} -X -Ttext ${RELOC} -e ${ENTRY} -o ${PROG} \ - ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} + ${OBJS} ${LIBS} # mv ${PROG} ${PROG}.elf # ${OBJCOPY} --input-target=elf32-powerpc \ # --output-target=xcoff-powermac ${PROG}.elf ${PROG}.xcf -- 2.20.1