summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc19
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 6e5bb1e..8619eb7 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -468,6 +468,15 @@ WMAKE_TGTS+= build32
buildworld: ${WMAKE_TGTS}
.ORDER: ${WMAKE_TGTS}
+
+#
+# We need to have this as a target because the indirection between Makefile
+# and Makefile.inc1 causes the correct PATH to be used, rather than a
+# modification of the current environment's PATH.
+#
+buildenvvars:
+ @echo ${WMAKEENV}
+
buildenv:
@echo Entering world for ${TARGET_ARCH}:${TARGET}
@cd ${.CURDIR} && env ${WMAKEENV} sh || true
OpenPOWER on IntegriCloud