-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add infrastructure for binary LGPL compliance checks #2362
add infrastructure for binary LGPL compliance checks #2362
Conversation
9f184dd
to
45554bf
Compare
@kaspar030 so where do we stand on this one? |
${DIRS:%=ALL--%}: | ||
"$(MAKE)" -C ${@:ALL--%=%} | ||
"$(MAKE)" -C ${@:ALL--%=%} || [[ "$(WEAK_DIRS)" != *${@:ALL--%=%}* ]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test is in the wrong order, isn't it?
@kaspar030 so where do we stand on this one? |
🍺 ? |
5ae32f7
to
0cdf9ee
Compare
I rebased it, but the make targets don't work. I'll have no time until monday to investigate. |
Would be awesome to have some progress on this... |
0cdf9ee
to
362d999
Compare
|
So is this still WIP, or not? |
|
I think this new feature is great! |
(I was not executing from the folder generated by bindist ;) |
A separate OS X issue: on Mac I get this error at when I make bindist:
|
@kaspar030 I guess you're right, the library linking example is something ontop of the base functionality of this PR. |
@kaspar030 for some reason it keeps telling me |
Hm, Can you try adding |
Tested, works even without the RIOT_VERSION_OVERRIDE:=test
Is there also a way to automate that the RIOTBASE in the bindist/Makefile automatically appends a /.. by default? (if a user needs to update it nevertheless, it does not change anything, else it saves one manual edit ;) |
@kaspar030 so what's the latest on this? Any chance this makes the feature freeze? |
updated.
Hm, in principle, but other than make the example work, it would be fiddling with a user's makefile. I've added the step to the README, do you think this is enough?
IMHO we can merge, if you give it an ACK. ;) |
ACK! |
6b8968b
to
11a4391
Compare
|
lol:
I'm fine with merging this anyway. ;) |
@kaspar030 can you add license + copyright P. Schmerzl on abc.c? ;) |
11a4391
to
1a003eb
Compare
generalized version of #2357.
Work in progress. beauty-patches welcome! README.md outdated.
This PR adds some new make targets:
patch
-> apply all patches in patches/ folder to $RIOTBASE usinggit am
bindist
-> creates a folder "bindist" which contains all files needed for LGPL-compliant distributioncheck_bindist
-> supposed to be run from within a folder created by "make bindist". Checks if compiled RIOTBASE linked with included .a files md5-matches included .elf.Please check out the concept before I thorougly document it. ;)