expand 'make help'

Add information about additional make targets

Change-Id: I82a0df2ab2814e72a52304dfd88c04c0feee70ad
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-01-31 08:22:18 -05:00
commit 7d348b0e71

View file

@ -7,6 +7,12 @@ NAME = Zephyr Kernel
export SOURCE_DIR PROJECT MDEF_FILE
ifneq ($(MAKECMDGOALS),help)
ifeq ($(PROJECT),)
$(error Invoking make from top-level kernel directory is not supported)
endif
endif
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
@ -1001,11 +1007,20 @@ help:
@echo ''
@echo 'Other generic targets:'
@echo ' all - Build all targets marked with [*]'
@echo '* zephyr - Build the bare kernel'
@echo ' qemu - Build the bare kernel and runs the emulation with qemu'
@echo '* zephyr - Build a zephyr application'
@echo ' qemu - Build a zephyr application and run it in qemu'
@echo ' flash - Build and flash an application'
@echo ''
@echo 'Supported Boards:'
@echo ''
@echo ' To build an image for one of the supported boards below, run:'
@echo ''
@echo ' make BOARD=<BOARD NAME>'
@echo ' in the application directory.'
@echo ' To flash the image (if supported), run:'
@echo ''
@echo ' make BOARD=<BOARD NAME> flash'
@echo ''
@$(if $(boards), \
$(foreach b, $(boards), \
printf " %-24s - Build for %s\\n" $(b) $(subst _defconfig,,$(b));) \