Skip to content

Commit

Permalink
dist/tools/insufficient_memory: fix collection of app folders
Browse files Browse the repository at this point in the history
There is actually a make target to list the applications in the repo.
Let's just use that.
  • Loading branch information
maribu committed May 16, 2023
1 parent 77b1547 commit 4f4616b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ export RIOT_CI_BUILD=1

BOARD=$1
RIOTBASE="$(dirname "$0")/../../.."
APPLICATIONS="$APPLICATIONS examples/*/Makefile"
APPLICATIONS="$APPLICATIONS tests/*/Makefile"
TMPFILE="$(mktemp)"

for app in ${APPLICATIONS}; do
application="$(dirname "${app}")"
APPLICATIONS="${APPLICATIONS} $(make -sC "${RIOTBASE}" info-applications)"

for application in ${APPLICATIONS}; do
printf "${CNORMAL}%-40s${CRESET}" "${application}"
# disable warning about globbing and word splitting for ${LOCAL_MAKE_ARGS}
# as this is exactly what we want here
Expand Down

0 comments on commit 4f4616b

Please sign in to comment.