diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2005-01-19 18:31:35 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2005-01-19 18:31:35 +0000 |
commit | dcc8d08ed794e508fc2b05feba216d5c38b81bf2 (patch) | |
tree | 3ae90c2c8eefa40c6c51af9571b001ff79e836c3 /Makefile.cross | |
parent | 2ea6f7c1ef0a9eeef6ecc65f2bbdd8d83a321bc4 (diff) |
Unbreak cross-tools by providing TARGET_ARCH in include target
to get right config.status file for binutils and gcc.
ok mickey@
Diffstat (limited to 'Makefile.cross')
-rw-r--r-- | Makefile.cross | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.cross b/Makefile.cross index 216c70d658b..c399d25e684 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.3 2005/01/12 00:06:28 espie Exp $ +# $OpenBSD: Makefile.cross,v 1.4 2005/01/19 18:31:34 grange Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-etc-root-var @@ -99,9 +99,11 @@ ${CROSSINCLUDES}: ${CROSSOBJ} @(cd ${.CURDIR}/include && \ MACHINE=${TARGET} MACHINE_ARCH=${TARGET_ARCH} \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + TARGET_ARCH=${TARGET_ARCH} \ ${MAKE} prereq && \ MACHINE=${TARGET} MACHINE_ARCH=${TARGET_ARCH} \ MAKEOBJDIR=obj.${MACHINE}.${TARGET} \ + TARGET_ARCH=${TARGET_ARCH} \ ${MAKE} DESTDIR=${CROSSDIR} includes) @touch ${CROSSINCLUDES} |