diff --git a/makefiles/app_dirs.inc.mk b/makefiles/app_dirs.inc.mk index 2a2c12ae18..6404b63894 100644 --- a/makefiles/app_dirs.inc.mk +++ b/makefiles/app_dirs.inc.mk @@ -1,4 +1,4 @@ -.PHONY: info-applications +.PHONY: info-applications info-applications-supported-boards # fallback so empty RIOTBASE won't lead to "/examples/" RIOTBASE ?= . @@ -15,3 +15,9 @@ APPLICATION_DIRS := $(sort $(patsubst ./%,%,$(patsubst %/,%,$(dir $(wildcard \ info-applications: @for dir in $(APPLICATION_DIRS); do echo $$dir; done + +# All applications / board output of `info-boards-supported`. +info-applications-supported-boards: + @for dir in $(APPLICATION_DIRS); do \ + make --no-print-directory -C $${dir} info-boards-supported 2>/dev/null | xargs -n 1 echo $${dir}; \ + done