diff options
author | 2007-02-06 17:17:18 +0000 | |
---|---|---|
committer | 2007-02-06 17:17:18 +0000 | |
commit | d49bf4ccfb8c3fe3e049a0eb32402dded66ccefe (patch) | |
tree | 08d7ee1dc905dad251f00a7701ee75d67902d52c | |
parent | Add machine/atomic.h to all architectures and define two operations (diff) | |
download | wireguard-openbsd-d49bf4ccfb8c3fe3e049a0eb32402dded66ccefe.tar.xz wireguard-openbsd-d49bf4ccfb8c3fe3e049a0eb32402dded66ccefe.zip |
feed bsdsrc/objdir and makeobjdir in cross-env allowing make obj and the like to work on random directories; found w/ rainerx0r; drahn@ ok
-rw-r--r-- | Makefile.cross | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.cross b/Makefile.cross index 90ae8b969c3..d7733b565b3 100644 --- a/Makefile.cross +++ b/Makefile.cross @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.cross,v 1.22 2006/12/19 23:17:54 deraadt Exp $ +# $OpenBSD: Makefile.cross,v 1.23 2007/02/06 17:17:18 mickey Exp $ cross-tools: cross-includes cross-binutils cross-gcc cross-lib cross-distrib: cross-tools cross-bin cross-etc-root-var @@ -72,7 +72,9 @@ cross-gcc: ${CROSSGCC} cross-env: @echo ${CROSSENV} MACHINE=${TARGET} \ - MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH` + MACHINE_ARCH=`cat ${CROSSDIR}/TARGET_ARCH` \ + BSDOBJDIR=${CROSSDIR}/usr/obj \ + BSDSRCDIR=${.CURDIR} MAKEOBJDIR=obj.${MACHINE}.${TARGET} ${CROSSDIRS}: @-mkdir -p ${CROSSDIR} |