diff options
| author | Andrii Nakryiko <[email protected]> | 2021-12-01 23:28:22 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-12-02 23:23:40 +0000 |
| commit | 527024f7aeb683ce7ef49b07ef7ce9ecf015288d (patch) | |
| tree | 0f5dfede9d448a1c72e77afdc284f4052e7f9df6 /samples/bpf/fds_example.c | |
| parent | selftests/bpf: Remove all the uses of deprecated bpf_prog_load_xattr() (diff) | |
| download | kernel-527024f7aeb683ce7ef49b07ef7ce9ecf015288d.tar.gz kernel-527024f7aeb683ce7ef49b07ef7ce9ecf015288d.zip | |
samples/bpf: Clean up samples/bpf build failes
Remove xdp_samples_user.o rule redefinition which generates Makefile
warning and instead override TPROGS_CFLAGS. This seems to work fine when
building inside selftests/bpf.
That was one big head-scratcher before I found that generic
Makefile.target hid this surprising specialization for for xdp_samples_user.o.
Main change is to use actual locally installed libbpf headers.
Also drop printk macro re-definition (not even used!).
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'samples/bpf/fds_example.c')
0 files changed, 0 insertions, 0 deletions
