Makefile.dep: make stdio_uart a feature required by ethos#12739
Closed
miri64 wants to merge 2 commits intoRIOT-OS:masterfrom
Closed
Makefile.dep: make stdio_uart a feature required by ethos#12739miri64 wants to merge 2 commits intoRIOT-OS:masterfrom
stdio_uart a feature required by ethos#12739miri64 wants to merge 2 commits intoRIOT-OS:masterfrom
Conversation
aabadie
requested changes
Nov 18, 2019
| endif | ||
| ifeq (,$(filter stdio_rtt stdio_cdc_acm,$(USEMODULE))) | ||
| USEMODULE += stdio_uart | ||
| FEATURES_PROVIDED += stdio_uart |
Contributor
There was a problem hiding this comment.
I think this is forbidden.
Contributor
There was a problem hiding this comment.
Features should only be provided in Makefile.features files. Makefile.dep files are here to do the resolution of dependencies given the provided features. If we start mixing the concepts we will end up in more mess.
This PR doesn't work with make info-boards-supported, so Murdock will fail in any case:
make -C tests/gnrc_ipv6_ext_frag info-boards-supported --no-print-directory | tr " " "\n" | grep thingy52
thingy52
Normally the result should be empty if the board is excluded.
Member
Author
|
BTW, with this proposal: With #12724 it passes (and pulls in 2 stdio implementations... not sure how and why this works). |
fjmolinas
requested changes
Nov 18, 2019
Member
Author
|
I agree with you. This PR is not much better than #12473, so I'm closing it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
An alternative proposal to #12724. Without touching any boards, with
stdio_uartbeing the deciding factor if the application builds or not.Testing procedure
Take any of the applications changed in this PR and try to build them for one of the boards previously blacklisted. It still fails:
Issues/PRs references
Alternative to #12724