diff options
author | Changbin Du <[email protected]> | 2022-12-18 06:35:09 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-12-20 16:09:39 -0800 |
commit | e7f0d5cdd023d8fa53d9ca541b9a55f0eb45618c (patch) | |
tree | de49f97a208943fa022a576c99a155dff69f46fd /lib/netdev-notifier-error-inject.c | |
parent | e6b4e1d759d3bfb7cb84c87cc8f1858da7db8dea (diff) |
bpf: makefiles: Do not generate empty vmlinux.h
Remove the empty vmlinux.h if bpftool failed to dump btf info.
The empty vmlinux.h can hide real error when reading output
of make.
This is done by adding .DELETE_ON_ERROR special target in related
makefiles.
Signed-off-by: Changbin Du <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions