diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-05-05 16:47:16 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1997-05-05 16:47:16 +0000 |
commit | 2fb170922c92611729e84a1f16a4722138e49b54 (patch) | |
tree | b5ae777985eda8fe3fc30795a66f3fbf39ab91c8 /sys/arch | |
parent | 7b4598dc9ba59edbbaadbbf066920116c82a0975 (diff) |
only build one version of the libraries.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/powerpc/stand/ofwboot/Makefile | 18 |
1 files 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 |