mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
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
This commit is contained in:
parent
aabe1bb37a
commit
1f99cce2b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326535
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user