[riot-notifications] [RIOT-OS/RIOT] Define requirements for configuration in the build system (#14027)

Marian Buschsieweke notifications at github.com
Wed May 6 09:43:12 CEST 2020


> Dependency types:
> 
>     * "provides" (if selected, also satisfies dependency FOO)
> 
>     * "conflicts" (cannot be selected together with BAR)
> 
>     * "one of" (depend on A|B|C, if available, in that order)
> 
>     * "if module A is available, depend on B"
> 
>     * "if module A is not available, depend on B"

+1

but for the "one of" it should only pull in any dependency if none of the options is not yet pulled in. E.g. if it depends on A|B|C but C is already used anyway, it should not pull in A even if A is available. (Note: The `FEATURES_REQUIRED_ANY` currently in RIOT does this.) In addition, if Module M depends on A|B|C and N depends on D|B it would be super if the build system would pull in only B, rather than A and D. (Note: This is something that `FEATURES_REQUIRED_ANY` currently will not do.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/14027#issuecomment-624493244
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200506/9b7dfafc/attachment.htm>


More information about the notifications mailing list