Makefile.include: check FEATURES_CONFLICT against FEATURES_USED #8925
The FEATURES_CONFLICT check should be done on used features to also
This make the FEATURES_CONFLICT test detect conflict with optional features included.
It can be tested with:
It will allow using FEATURES_CONFLICT for #8890
referenced this pull request
Apr 11, 2018
@kaspar030 I think the second case could be quite easily done but it would be a new feature where here it's just fixing the check.
With the way it's done now, to handle the one required and one optional case, I would do it with a state in in the Makefile.dep iterations. In the first iterations, optional features are not taken in to account, then when USEMODULE is stable, keep iterating and integrate the optional features that do not conflict until USEMODULE is stable again.