lkml.org 
[lkml]   [2020]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] tools build feature: cleanup feature files on make clean
    From
    Date
    On 8/27/20 10:53 AM, Jesper Dangaard Brouer wrote:
    > The system for "Auto-detecting system features" located under
    > tools/build/ are (currently) used by perf, libbpf and bpftool. It can
    > contain stalled feature detection files, which are not cleaned up by
    > libbpf and bpftool on make clean (side-note: perf tool is correct).
    >
    > Fix this by making the users invoke the make clean target.
    >
    > Some details about the changes. The libbpf Makefile already had a
    > clean-config target (which seems to be copy-pasted from perf), but this
    > target was not "connected" (a make dependency) to clean target. Choose
    > not to rename target as someone might be using it. Did change the output
    > from "CLEAN config" to "CLEAN feature-detect", to make it more clear
    > what happens.
    >
    > This is related to the complaint and troubleshooting in link:
    > Link: https://lore.kernel.org/lkml/20200818122007.2d1cfe2d@carbon/
    >
    > Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>

    Applied to bpf-next, thanks!

    \
     
     \ /
      Last update: 2020-08-28 14:15    [W:4.609 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site