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:
parent
77b15473ae
commit
4f4616bb35
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user