-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Config feature cleanup #1917
Config feature cleanup #1917
Conversation
@@ -190,7 +190,7 @@ void auto_init_net_if(void) | |||
|
|||
void auto_init(void) | |||
{ | |||
#ifdef MODULE_CONFIG | |||
#if defined MODULE_CONFIG && defined FEATURE_CONFIG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are both necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first one says that this module should be used, the latter one that the feature is available on the platform. See #1917 (comment).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, the module works if the feature isn't available? That seems wrong ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not available it won't be able to link and must therefore be disabled.
@Kijewski, I tried to make use of I tried with something like
but Make didn't like the recursion here. Do you have an idea? |
daa8acc
to
4659333
Compare
With |
4659333
to
18cc8af
Compare
@Kijewski, @LudwigOrtmann, you like? |
Actually, no, sorry. Will elaborate later. |
How much later? ;-) |
18cc8af
to
03cca0a
Compare
Rebased. @Kijewski, please state what's wrong with this now (or forever hold your peace). |
What does this line do? USEMODULE := $(filter-out $(filter-out $(FEATURES_PROVIDED), $(FEATURES_OPTIONAL)), $(sort $(USEMODULE))) |
|
OK, ACK. Seems legitimate for this usecase. |
Apparently something is wrong with |
Apparently the |
@Kijewski, any better idea or does your ACK hold? |
My ACK holds |
Fixing some side effects of #1846 and #1900.