aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
Diffstat (limited to 'targets')
-rw-r--r--targets/pseudo/bootstrap-tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/pseudo/bootstrap-tools/Makefile b/targets/pseudo/bootstrap-tools/Makefile
index 9b0f524f0c63..95f16f0530a8 100644
--- a/targets/pseudo/bootstrap-tools/Makefile
+++ b/targets/pseudo/bootstrap-tools/Makefile
@@ -86,7 +86,7 @@ BSTCARGS= \
# finally we build toolchain leveraging the above.
bootstrap-toolchain: .MAKE cross-tools
- ${BSTCENV} ${MAKE} -C ${.CURDIR:H:H} ${BSTCARGS} toolchain
+ ${BSTCENV} ${MAKE} -C ${SRCTOP} ${BSTCARGS} toolchain
# Ensure CCACHE_DIR is ignored since we are processing .meta files here.
.include <bsd.compiler.mk>