[make] add a quick in dirty help target for the build system
make help: a quick overview of how to use the build system make list: a list of all the buildable projects
This commit is contained in:
@@ -31,6 +31,9 @@ make-make:
|
||||
endif
|
||||
endif
|
||||
|
||||
# some additional rules to print some help
|
||||
include make/help.mk
|
||||
|
||||
ifeq ($(do-nothing),)
|
||||
|
||||
ifeq ($(PROJECT),)
|
||||
@@ -38,7 +41,7 @@ ifeq ($(PROJECT),)
|
||||
ifneq ($(DEFAULT_PROJECT),)
|
||||
PROJECT := $(DEFAULT_PROJECT)
|
||||
else
|
||||
$(error No project specified. Use "make projectname" or put "PROJECT := projectname" in local.mk)
|
||||
$(error No project specified. Use 'make list' for a list of projects or 'make help' for additional help)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user