Makefile: add a "shell" target

This will put you at a shell prompt inside the build environment.  Why
didn't I think of this before?!
This commit is contained in:
Albert Hopkins 2015-12-09 18:15:09 +00:00
parent 0d0af1a03e
commit ae1b17132e
1 changed files with 4 additions and 0 deletions

View File

@ -349,6 +349,9 @@ checksums:
cd $(IMAGES) && sha256sum --binary * > $(CHECKSUMS).tmp
mv $(CHECKSUMS).tmp $(CHECKSUMS)
shell: $(PREPROOT)
$(inroot)
help:
@scripts/echo 'Help targets (this is not a comprehensive list)'
@echo
@ -358,6 +361,7 @@ help:
@echo 'clean - Unmount chroot and clean directory'
@echo 'eclean - Clean outdated packages and distfiles'
@echo 'realclean - Clean and remove image files'
@echo 'shell - Enter a shell in the build environment'
@scripts/echo 'Images'
@echo 'image - Build a raw VM image from stage4'
@echo 'qcow - Build a qcow VM image from a raw image'