projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
6.04k stars 1.35k forks source link

[BPF] Makefile rework #9490

Open tomastigera opened 5 days ago

tomastigera commented 5 days ago

Description

This change adds dependencies based on v4/6. Hance if a change happens in a ip version specific file, the ip version gets recompiled.

This change makes it easier to add new files that should be compiled. It is only necessary to add them in list-objs with no need to change the Makefile

Related issues/PRs

Todos

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

Every PR needs one release-note-* label.

Other optional labels: