Added the "buildenv" target, for developers only!
CAVEAT: if you run tcsh(1) from within this target, this will reset your PATH making this target mostly useless. Careful! Submitted by: jmg, ru
This commit is contained in:
parent
f77cebd2d2
commit
20bfae8441
2
Makefile
2
Makefile
@ -62,7 +62,7 @@
|
|||||||
# developer convenience only. They are intentionally not documented and
|
# developer convenience only. They are intentionally not documented and
|
||||||
# completely subject to change without notice.
|
# completely subject to change without notice.
|
||||||
#
|
#
|
||||||
TGTS= all all-man buildkernel buildworld checkdpadd clean \
|
TGTS= all all-man buildenv buildkernel buildworld checkdpadd clean \
|
||||||
cleandepend cleandir depend distribute distributeworld everything \
|
cleandepend cleandir depend distribute distributeworld everything \
|
||||||
hierarchy install installcheck installkernel installkernel.debug\
|
hierarchy install installcheck installkernel installkernel.debug\
|
||||||
reinstallkernel reinstallkernel.debug installworld \
|
reinstallkernel reinstallkernel.debug installworld \
|
||||||
|
@ -457,6 +457,10 @@ WMAKE_TGTS+= build32
|
|||||||
buildworld: ${WMAKE_TGTS}
|
buildworld: ${WMAKE_TGTS}
|
||||||
.ORDER: ${WMAKE_TGTS}
|
.ORDER: ${WMAKE_TGTS}
|
||||||
|
|
||||||
|
buildenv:
|
||||||
|
@echo Entering world for ${TARGET_ARCH}:${TARGET}
|
||||||
|
@cd ${.CURDIR} && env ${WMAKEENV} sh || true
|
||||||
|
|
||||||
TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything}
|
TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything}
|
||||||
toolchain: ${TOOLCHAIN_TGTS}
|
toolchain: ${TOOLCHAIN_TGTS}
|
||||||
kernel-toolchain: ${TOOLCHAIN_TGTS:N_includes:N_libraries}
|
kernel-toolchain: ${TOOLCHAIN_TGTS:N_includes:N_libraries}
|
||||||
|
Loading…
Reference in New Issue
Block a user