summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-26 02:32:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-26 02:32:50 +0000
commit5c757cc40cdfde3d53670c8c8db0277b5dd40d1e (patch)
tree660bf18756bdb8fca67b8760f4ace7d25e6437de /gnu/usr.bin
parenta0c7e65897f06cc4590e836381797bfac6eb67bb (diff)
Only build/install everything for alpha, mips, and powerpc. Others willl
just get gdb. This will be used in the future when we use the binutils gdb for all platforms. As things stand right now, this change affects nothing since only alpha, mips, and powerpc use binutils.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index f56a98e37cc..746681f086b 100644
--- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.18 1998/03/26 02:26:22 millert Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.19 1998/03/26 02:32:49 millert Exp $
MAN= binutils/ar.1 binutils/nm.1 \
binutils/objcopy.1 binutils/objdump.1 binutils/ranlib.1 \
@@ -12,7 +12,11 @@ SUBDIRS+= gdb mmalloc readline
MAN+= gdb/gdb.1
.endif
+# some ports use all of binutils, some do not.
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips") || \
+ (${MACHINE_ARCH} == "powerpc")
SUBDIRS+= binutils ld gas
+.endif
all: config.status
${MAKE} CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS=${LDSTATIC} \