]> Git Repo - linux.git/commit
samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is provided
authorJerome Marchand <[email protected]>
Sat, 7 May 2022 16:16:35 +0000 (18:16 +0200)
committerAndrii Nakryiko <[email protected]>
Tue, 10 May 2022 00:40:43 +0000 (17:40 -0700)
commitec24704492d8791a52a75a39e3ad762b6e017bc6
tree03eeef08d25a805578c1ffbd7f61bb675f6b7354
parentbfa92e0bdc8ee5d444086fa25489de861a17b085
samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is provided

samples/bpf build currently always fails if it can't generate
vmlinux.h from vmlinux, even when vmlinux.h is directly provided by
VMLINUX_H variable, which makes VMLINUX_H pointless.
Only fails when neither method works.

Fixes: 384b6b3bbf0d ("samples: bpf: Add vmlinux.h generation support")
Reported-by: CKI Project <[email protected]>
Reported-by: Veronika Kabatova <[email protected]>
Signed-off-by: Jerome Marchand <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
samples/bpf/Makefile
This page took 0.05162 seconds and 4 git commands to generate.