diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-12-04 16:38:20 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-12-04 16:38:20 +0000 |
commit | 1f99cce2b03b1bfd6200c74425cf78aa9aa5df59 (patch) | |
tree | 7491546c83dd08d7c494a04e38738987ff852b7e /tools/boot | |
parent | aabe1bb37acfb77f166ca156ba32a580bd4fb86d (diff) | |
download | src-1f99cce2b03b1bfd6200c74425cf78aa9aa5df59.tar.gz src-1f99cce2b03b1bfd6200c74425cf78aa9aa5df59.zip |
Just use the last line of the output from getting .OBJDIR. The
buildenv target prints other stuff too that needs to be ignored.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=326535
Diffstat (limited to 'tools/boot')
-rwxr-xr-x | tools/boot/universe.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/boot/universe.sh b/tools/boot/universe.sh index 5f5c5b85604c..d05097a06799 100755 --- a/tools/boot/universe.sh +++ b/tools/boot/universe.sh @@ -26,7 +26,7 @@ dobuild() local opt=$3 echo -n "Building $ta ${opt} ... " - objdir=$(make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -V .OBJDIR") + objdir=$(make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -V .OBJDIR" | tail -1) rm -rf ${objdir} if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make clean cleandepend cleandir obj depend" \ > $lf 2>&1; then |