8000 dist/tools/insufficient_memory: always update Makefile.ci by maribu · Pull Request #20130 · RIOT-OS/RIOT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dist/tools/insufficient_memory: always update Makefile.ci #20130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dist/tools/insufficient_memory/Makefile.for_sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ define create_Makefile.ci
@echo " #" >> $(1)
endef

BOARD_INSUFFICIENT_MEMORY += $(BOARD)
BOARD_INSUFFICIENT_MEMORY += $(ADD_BOARDS)
BOARD_INSUFFICIENT_MEMORY := $(filter-out $(REMOVE_BOARDS),$(BOARD_INSUFFICIENT_MEMORY))

.PHONY: Makefile.ci
ifeq ($(BOARD_INSUFFICIENT_MEMORY),)
Expand Down
2 changes: 1 addition & 1 deletion dist/tools/insufficient_memory/create_makefile.ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ for BOARD in $(EXTERNAL_BOARD_DIRS="" make --no-print-directory info-boards-sup
done

rm "${APP_DIR}/Makefile.ci"
make -f "$(dirname "$0")"/Makefile.for_sh DIR="${APP_DIR}" BOARD="${BOARDS}" Makefile.ci > /dev/null
make -f "$(dirname "$0")"/Makefile.for_sh DIR="${APP_DIR}" ADD_BOARDS="${BOARDS}" Makefile.ci > /dev/null
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ APPLICATIONS="${APPLICATIONS} $(make -sC "${RIOTBASE}" info-applications)"

for application in ${APPLICATIONS}; do
printf "${CNORMAL}%-40s${CRESET}" "${application}"

# First, remove the board from Makefile.ci; otherwise linking step will be
# skipped with RIOT_CI_BUILD=1 when the board is already in the list.
make -f "$(dirname "$0")"/Makefile.for_sh DIR="${RIOTBASE}/${application}" REMOVE_BOARDS="${BOARD}" Makefile.ci > /dev/null
# disable warning about globbing and word splitting for ${LOCAL_MAKE_ARGS}
# as this is exactly what we want here
# shellcheck disable=SC2086
Expand All @@ -62,7 +66,7 @@ for application in ${APPLICATIONS}; do
-e "wraps around address space" \
"$TMPFILE" > /dev/null; then
printf "${CBIG}%s${CRESET}\n" "too big"
make -f "$(dirname "$0")"/Makefile.for_sh DIR="${RIOTBASE}/${application}" BOARD="${BOARD}" Makefile.ci > /dev/null
make -f "$(dirname "$0")"/Makefile.for_sh DIR="${RIOTBASE}/${application}" ADD_BOARDS="${BOARD}" Makefile.ci > /dev/null
elif grep -e "not whitelisted" \
-e "unsatisfied feature requirements" \
-e "Some feature requirements are blacklisted:" \
Expand Down
0