Re: [PATCH bpf] selftests/bpf: make directory prerequisites order-only

2019-07-17 Thread Ilya Leoshkevich
> Am 16.07.2019 um 19:49 schrieb Alexei Starovoitov > : > > On Mon, Jul 15, 2019 at 3:22 PM Daniel Borkmann wrote: >> >> On 7/12/19 3:56 PM, Ilya Leoshkevich wrote: >>> When directories are used as prerequisites in Makefiles, they can cause >>> a lot of unnecessary rebuilds, because a directory

Re: [PATCH bpf] selftests/bpf: make directory prerequisites order-only

2019-07-16 Thread Andrii Nakryiko
On Tue, Jul 16, 2019 at 10:49 AM Alexei Starovoitov wrote: > > On Mon, Jul 15, 2019 at 3:22 PM Daniel Borkmann wrote: > > > > On 7/12/19 3:56 PM, Ilya Leoshkevich wrote: > > > When directories are used as prerequisites in Makefiles, they can cause > > > a lot of unnecessary rebuilds, because a di

Re: [PATCH bpf] selftests/bpf: make directory prerequisites order-only

2019-07-16 Thread Alexei Starovoitov
On Mon, Jul 15, 2019 at 3:22 PM Daniel Borkmann wrote: > > On 7/12/19 3:56 PM, Ilya Leoshkevich wrote: > > When directories are used as prerequisites in Makefiles, they can cause > > a lot of unnecessary rebuilds, because a directory is considered changed > > whenever a file in this directory is a

Re: [PATCH bpf] selftests/bpf: make directory prerequisites order-only

2019-07-15 Thread Daniel Borkmann
On 7/12/19 3:56 PM, Ilya Leoshkevich wrote: > When directories are used as prerequisites in Makefiles, they can cause > a lot of unnecessary rebuilds, because a directory is considered changed > whenever a file in this directory is added, removed or modified. > > If the only thing a target is inte

Re: [PATCH bpf] selftests/bpf: make directory prerequisites order-only

2019-07-12 Thread Andrii Nakryiko
On Fri, Jul 12, 2019 at 6:57 AM Ilya Leoshkevich wrote: > > When directories are used as prerequisites in Makefiles, they can cause > a lot of unnecessary rebuilds, because a directory is considered changed > whenever a file in this directory is added, removed or modified. > > If the only thing a

[PATCH bpf] selftests/bpf: make directory prerequisites order-only

2019-07-12 Thread Ilya Leoshkevich
When directories are used as prerequisites in Makefiles, they can cause a lot of unnecessary rebuilds, because a directory is considered changed whenever a file in this directory is added, removed or modified. If the only thing a target is interested in is the existence of the directory it depends