[riot-notifications] [RIOT-OS/RIOT] pkg: USEPKG vs USEMODULE (#6668)

Kaspar Schleiser notifications at github.com
Mon Sep 4 16:36:11 CEST 2017

> with a module I can expect typical RIOT code quality and perfect integration, where a package requires Internet connectivity for first time building, may introduce additional problems, and might integrate a less smoothly.

IMO, if a package "introduce additional problems, and might integrate a less smoothly", it should be fixed...

> But currently it isn't clear, what USEPKG is supposed to do and what USEMODULE is supposed to do in this context.

I'm trying to remove the confusion around ```USEPKG += jsmn USEMODULE += jsmn```. Currently both are required for most packages, which I find confusing, if I'm putting myself into Joe Newuser's perspective. And verbose, from my own perspective.

I propose making ```USEMODULE += <whatever>``` *implicitly* add ```<whatever>``` to ```USEPKG```, iff ```pkg/<whatever>``` exists.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20170904/148b91a8/attachment-0001.html>

More information about the notifications mailing list