diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-15 20:56:41 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-02-15 20:56:41 +0000 |
commit | 62c7a7d35258cb8cdf9e2049cda1db01bf585423 (patch) | |
tree | 4d0b85e6f33b5077eb48839838c6473da7061675 | |
parent | 2b89a04cf6f974f8370b54e72b96ebd0bc1f9b64 (diff) |
A new rule cross-gas for building an a.out cross assembler, i.e. *not* from
the new binutils, but from the old gnu/usr.bin/gas sources. Not yet called
from cross-tools for any architectures.
-rw-r--r-- | Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 1997/12/09 19:45:29 niklas Exp $ +# $OpenBSD: Makefile,v 1.24 1998/02/15 20:56:40 niklas Exp $ # # For more information on building in tricky environments, please see @@ -118,6 +118,20 @@ cross-binutils: ${.CURDIR}/usr.bin/lorder/lorder.sh.gnm \ ${CROSSDIR}/usr/bin/`cat ${CROSSDIR}/TARGET_CANON`-lorder +cross-gas: + -mkdir -p ${CROSSDIR}/usr/obj + -mkdir -p ${CROSSDIR}/usr/bin + (cd gnu/usr.bin/gas; \ + BSDOBJDIR=${CROSSDIR}/usr/obj \ + BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + ${MAKE} obj) + (cd gnu/usr.bin/gas; \ + TARGET_MACHINE_ARCH=${TARGET} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + ${MAKE}) + (cd gnu/usr.bin/gas; \ + DESTDIR=${CROSSDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + ${MAKE} NOMAN= install) + cross-gcc: -mkdir -p ${CROSSDIR}/usr/obj (cd gnu/usr.bin/gcc; \ |