1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist/tools/insufficient_memory: fix collection of app folders

There is actually a make target to list the applications in the repo.
Let's just use that.
This commit is contained in:
Marian Buschsieweke 2023-05-16 14:12:16 +02:00
parent 77b15473ae
commit 4f4616bb35
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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