-
Notifications
You must be signed in to change notification settings - Fork 317
ebpf: update Makefile to add header dependencies #618
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
base: main
Are you sure you want to change the base?
ebpf: update Makefile to add header dependencies #618
Conversation
Suggestions for discussion: A simpler "better be on the safe side of things" would be
|
I am fine with the suggested solution as well. Couple of nits on the proposed:
|
Yeah, feel free to amend, just quickly tested it here. We could additionally remove |
👍 I will wait for some more votes in favor of the wildcard implementation and then implement it |
What's the issue with the original proposal? It's using the dependencies that the compiler dumps, which will always be accurate. Also it's the standard way we capture C dependencies in Makefiles. I'd rather avoid inefficiencies, even if they're now small. |
I think I'd prefer the generated dependencies as well. |
Co-authored-by: Christos Kalkanis <[email protected]>
should we remove |
It's committed into the repository so probably not. What would removing it gain us, if the json changes it will be automatically re-generated (and then changes should be committed to repo). Otherwise, no need to spend time generating it. |
It didn't work in the past. |
Introducing |
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.
thanks for the update!
I noticed when I change a header, the ebpf program is not recompiled and requires a manual clean.
This change should force recompilation if any dependent header changed