[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87o8yectg0.fsf@cloudflare.com>
Date: Fri, 18 Oct 2019 11:07:59 +0200
From: Jakub Sitnicki <jakub@...udflare.com>
To: Andrii Nakryiko <andriin@...com>
Cc: "bpf\@vger.kernel.org" <bpf@...r.kernel.org>,
"netdev\@vger.kernel.org" <netdev@...r.kernel.org>,
"kernel-team\@cloudflare.com" <kernel-team@...udflare.com>
Subject: Re: [PATCH bpf-next] scripts/bpf: Print an error when known types list needs updating
On Thu, Oct 17, 2019 at 07:11 PM CEST, Andrii Nakryiko wrote:
> On 10/17/19 2:44 AM, Jakub Sitnicki wrote:
[...]
>> diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
>> index 75b538577c17..26c202261c5f 100644
>> --- a/tools/lib/bpf/Makefile
>> +++ b/tools/lib/bpf/Makefile
>> @@ -169,7 +169,8 @@ $(BPF_IN): force elfdep bpfdep bpf_helper_defs.h
>>
>> bpf_helper_defs.h: $(srctree)/include/uapi/linux/bpf.h
>> $(Q)$(srctree)/scripts/bpf_helpers_doc.py --header \
>> - --file $(srctree)/include/uapi/linux/bpf.h > bpf_helper_defs.h
>> + --file $(srctree)/include/uapi/linux/bpf.h > $@...p
>> + @mv $@...p $@
>
> This is unnecessary. Let's add ".DELETE_ON_ERROR:" at the end Makefile
> instead to trigger this auto-deletion of failed targets automatically.
Thanks for the hint. Will respin it.
-Jakub
Powered by blists - more mailing lists