Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kbuild: Do not clean resolve_btfids if the output does not exist
Nathan reported issue with cleaning empty build directory: $ make -s O=build distclean ../../scripts/Makefile.include:4: *** \ O=/ho...build/tools/bpf/resolve_btfids does not exist. Stop. The problem that tools scripts require existing output directory, otherwise it fails. Adding check around the resolve_btfids clean target to ensure the output directory is in place. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
- Loading branch information