diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-02-26 22:02:18 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-02-26 22:02:18 +0000 |
commit | 20bfae8441a6ddb47691229c1baa1d710456a62a (patch) | |
tree | 326e689acd4c01bfa5f46c21802aa5462b52c00b /Makefile.inc1 | |
parent | f77cebd2d2be29ccdbf29ba87426f90be8b559db (diff) | |
download | src-20bfae8441a6ddb47691229c1baa1d710456a62a.tar.gz src-20bfae8441a6ddb47691229c1baa1d710456a62a.zip |
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
Notes
Notes:
svn path=/head/; revision=142585
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index f6227c77fd61..5a9696510e5c 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -457,6 +457,10 @@ WMAKE_TGTS+= build32 buildworld: ${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: ${TOOLCHAIN_TGTS} kernel-toolchain: ${TOOLCHAIN_TGTS:N_includes:N_libraries} |