• Q
    tools: bpf: account for generated feature/ and libbpf/ directories · fbdb620b
    Quentin Monnet 提交于
    When building "tools/bpf" from the top of the Linux repository, the
    build system passes a value for the $(OUTPUT) Makefile variable to
    tools/bpf/Makefile and tools/bpf/bpftool/Makefile, which results in
    generating "libbpf/" (for bpftool) and "feature/" (bpf and bpftool)
    directories inside the tree.
    
    This commit adds such directories to the relevant .gitignore files, and
    edits the Makefiles to ensure they are removed on "make clean". The use
    of "rm" is also made consistent throughout those Makefiles (relies on
    the $(RM) variable, use "--" to prevent interpreting
    $(OUTPUT)/$(DESTDIR) as options.
    
    v2:
    - New patch.
    Signed-off-by: NQuentin Monnet <quentin.monnet@netronome.com>
    Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
    fbdb620b
Makefile 4.0 KB