[riot-notifications] [RIOT-OS/RIOT] makefile: fix implementation info-buildsizes-diff (#10966)

Gaƫtan Harter notifications at github.com
Fri Apr 26 11:58:05 CEST 2019


> By revisiting this issue I did find some cumbersome functionality. If you build an image for a certain board on master and your branch, by running info-buildsizes-diff, you have no way of specifying for what boards you want that info, you'll get the info for all boards AND in both bindirs empty dirs will be generated for all compatible boards.

You could define the `BOARDS` environment variable it limits to the one you want:

```
BOARDS="iotlab-m3 samr21-xpro native" OLDBIN=bin_old NEWBIN=bin_new make info-buildsizes-diff
text	data	bss	dec	BOARD/BINDIRBASE

-56	0	0	-56	iotlab-m3
8484	140	2620	11244	bin_old
8428	140	2620	11188	bin_new

-52	0	0	-52	samr21-xpro
8592	140	2612	11344	bin_old
8540	140	2612	11292	bin_new

-52	0	0	-52	native
22970	568	47652	71190	bin_old
22918	568	47652	71138	bin_new
```


In case you may find it useful, there is a way to add behavior in the default RIOT repository without modifying it by including your own files to be parsed http://doc.riot-os.org/advanced-build-system-tricks.html
I have example usage to define a new target https://github.com/cladmi/iotlab-os-ci/blob/master/tools/pytest/pytest.mk.post or do change some variables definition before they are set https://git.imp.fu-berlin.de/riot-appstore/riot-buildsystem-ci-server/blob/master/tools/makefiles.pre


-- 
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/10966#issuecomment-487001871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190426/28fc4a50/attachment-0001.html>


More information about the notifications mailing list