aboutsummaryrefslogtreecommitdiff
path: root/tools/boot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/boot')
-rwxr-xr-xtools/boot/universe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/boot/universe.sh b/tools/boot/universe.sh
index 5f5c5b85604cc..d05097a067997 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