[riot-notifications] [RIOT-OS/RIOT] boards: examples: tests: refactor the way boards providing netif is used (#11676)

Gaëtan Harter notifications at github.com
Mon Jun 17 16:53:09 CEST 2019


> I would even try to use a specific pattern that does not use immediate evaluation, and maybe be declarative completely.
> `FEATURES_PROVIDED_at86rf2xx ?= netif`
> But would need some attention as it would be a circular dependency with the current way of defining.


I guess somehow we should then say, with maybe a helper function

```
FEATURES_PROVIDED += feature_name $(FEATURES_PROVIDED_feature_name)
```

or 
```
FEATURES_PROVIDED_feature_name += feature_name $(FEATURES_PROVIDED_other_ones)
```

Or do the recursive resolution at the end to another variable with a recursive `resolve_deps`.

```
FEATURES_PROVIDED_RESOLVED = $(call resolve_deps,$(FEATURES_PROVIDED)) 
```

-- 
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/pull/11676#issuecomment-502716886
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190617/1bf767e7/attachment.html>


More information about the notifications mailing list