diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-04 19:41:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-05-04 19:41:07 +0000 |
commit | 8bdbe5d830541cc3d8804dcc4c0de7f1dc4e9672 (patch) | |
tree | 4130ca2ba2fae8b1841f9832b23f16137813d555 /Makefile.cross | |
parent | d69f4f3d01bad2390ab6e65477fe7d1447376c6e (diff) |
Install binutils objdump on a.out cross-tools; ok grange@
Diffstat (limited to 'Makefile.cross')
-rw-r--r-- | Makefile.cross | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.cross b/Makefile.cross index 77c9ee11348..013cf9f770b 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.15 2006/04/19 18:32:39 miod Exp $ +# $OpenBSD: Makefile.cross,v 1.16 2006/05/04 19:41:06 miod Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-etc-root-var @@ -120,17 +120,19 @@ NEW_BINUTILS?= Yes .endif ${CROSSBINUTILS}: ${CROSSINCLUDES} -.if ${NEW_BINUTILS:L} == "yes" (cd ${.CURDIR}/gnu/usr.bin/binutils; \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + USING_NEW_BINUTILS=${NEW_BINUTILS} \ TARGET_ARCH=${TARGET_ARCH} \ ${MAKE} -f Makefile.bsd-wrapper depend && \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + USING_NEW_BINUTILS=${NEW_BINUTILS} \ TARGET_ARCH=${TARGET_ARCH} \ ${MAKE} -f Makefile.bsd-wrapper all && \ DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + USING_NEW_BINUTILS=${NEW_BINUTILS} \ ${MAKE} -f Makefile.bsd-wrapper install) -.else +.if ${NEW_BINUTILS:L} != "yes" (cd ${.CURDIR}/gnu/usr.bin/gas; \ TARGET_MACHINE_ARCH=${TARGET_ARCH} \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${MAKE} depend all; \ |