summaryrefslogtreecommitdiffstats
path: root/targets/pseudo/bootstrap-tools/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-01 21:52:25 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-01 21:52:25 +0000
commitb73737cbd4b63a4981e267d46896c0b0143d560b (patch)
tree54a205d07506e4edabd43510539b3f791d13cc7e /targets/pseudo/bootstrap-tools/Makefile
parentba5aece18634b611f9f7fc8ba9916eccf3347469 (diff)
downloadFreeBSD-src-b73737cbd4b63a4981e267d46896c0b0143d560b.zip
FreeBSD-src-b73737cbd4b63a4981e267d46896c0b0143d560b.tar.gz
Don't create cookie until the command is all finished, it or the commands
after may fail. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'targets/pseudo/bootstrap-tools/Makefile')
-rw-r--r--targets/pseudo/bootstrap-tools/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/targets/pseudo/bootstrap-tools/Makefile b/targets/pseudo/bootstrap-tools/Makefile
index 1b0ebde..b0e62d5 100644
--- a/targets/pseudo/bootstrap-tools/Makefile
+++ b/targets/pseudo/bootstrap-tools/Makefile
@@ -43,8 +43,10 @@ BSARGS= DESTDIR= \
legacy: .MAKE .META
mkdir -p ${LEGACY_TOOLS}
- ${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${BTOOLSDIR} > $@2
- ${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${LEGACY_TOOLS} > $@
+ ${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${BTOOLSDIR} \
+ > $@.distrib-dirs_btoolsdir
+ ${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${LEGACY_TOOLS} \
+ > $@.distrib-dirs_legacy_tools
${BSENV} ${MAKE} -C ${SRCTOP} -f Makefile.inc1 ${BSARGS} $@
touch $@
OpenPOWER on IntegriCloud