Skip to content

fix(build): Point Makefile bpf targets at the generated package - #734

Merged
rabbitstack merged 1 commit into
rabbitstack:add-makefile-for-build-targetsfrom
mostafa:fix/makefile-build-targets
Sep 21, 2026
Merged

rabbitstack merged 1 commit into
rabbitstack:add-makefile-for-build-targetsfrom
mostafa:fix/makefile-build-targets

Conversation

@mostafa

@mostafa mostafa commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of this PR / why it is needed?

Follow-up to #732. The Makefile declared bpf2go outputs next to the C sources while writing them under internal/ebpf/bpf, so make ebpf always rebuilt and CI failed the generation-drift check against Ubuntu clang 18 objects.

What type of change does this PR introduce?


/kind bug-fix

Any specific area of the project related to this PR?


/area build

/area ci

Special notes for the reviewer


  • Declared Make targets now match -output-dir internal/ebpf/bpf.
  • CI runs make -B ebpf so checkout timestamps cannot skip regeneration.
  • Include order matches the previous generator: production headers first, spike vmlinux.h last.
  • Objects regenerated with Ubuntu 24.04 clang 18 (same as ubuntu-latest).
  • make test runs the Linux package set that actually passes; go test ./... still fails on Windows-only tests.

Does this PR introduce a user-facing change?


No.

Make looked for bindings next to the C sources, so every CI run rebuilt and failed the clang 18 drift check.
@rabbitstack
rabbitstack merged commit f4ef980 into rabbitstack:add-makefile-for-build-targets Sep 21, 2026
@mostafa
mostafa deleted the fix/makefile-build-targets branch September 21, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants