Skip to content

makefiles: remove DOWNLOAD_TO_STDOUT#21823

Merged
crasbe merged 1 commit intoRIOT-OS:masterfrom
crasbe:pr/remove_dl_to_stdout
Oct 29, 2025
Merged

makefiles: remove DOWNLOAD_TO_STDOUT#21823
crasbe merged 1 commit intoRIOT-OS:masterfrom
crasbe:pr/remove_dl_to_stdout

Conversation

@crasbe
Copy link
Contributor

@crasbe crasbe commented Oct 29, 2025

Contribution description

While working on #21813 I noticed that there is a big blob of Makefile magic in $(RIOTBASE)/Makefile.include that defines DOWNLOAD_TO_FILE and DOWNLOAD_TO_STDOUT. Both were introduced in #1431, but so far there is no use of DOWNLOAD_TO_STDOUT in our sources. Even DOWNLOAD_TO_FILE was/is only used by two instances.

Since DOWNLOAD_TO_FILE is now essentially an Alias for DLCACHE and dlcache.sh does all the "finding out whether to use curl or wget"-magic, the code in the Makefile.include is essentially obsolete.

Therefore I'd like to remove the DOWNLOAD_TO_STDOUT as well, considering the only use would be to pipe something to something like tar. This conflicts with the idea of caching and reducing traffic though.

Furthermore I took the opportunity to correct the documentation of DLCACHE in makefile/vars.inc.mk and add the information about the SHA512 checksums.

Testing procedure

Check the sourcetree that no instances of DOWNLOAD_TO_STDOUT are left. CI should also still be happy when building pkg/c25519 and pkg/cryptocell_....

Issues/PRs references

Discovered in #21813.

@crasbe crasbe requested review from maribu and miri64 October 29, 2025 10:33
@crasbe crasbe added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 29, 2025
@github-actions github-actions bot added the Area: build system Area: Build system label Oct 29, 2025
@riot-ci
Copy link

riot-ci commented Oct 29, 2025

Murdock results

✔️ PASSED

399a2bc makefiles: remove DOWNLOAD_TO_STDOUT

Success Failures Total Runtime
10551 0 10552 11m:05s

Artifacts

@crasbe crasbe added this pull request to the merge queue Oct 29, 2025
Merged via the queue into RIOT-OS:master with commit 0adf9e9 Oct 29, 2025
28 checks passed
@crasbe crasbe deleted the pr/remove_dl_to_stdout branch October 29, 2025 14:04
@benpicco benpicco added this to the Release 2025.10 milestone Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants