[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a3823fec-3816-9c38-bb2d-a8391766e64d@iogearbox.net>
Date: Tue, 16 Jul 2019 00:19:26 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Ilya Leoshkevich <iii@...ux.ibm.com>, bpf@...r.kernel.org,
netdev@...r.kernel.org
Cc: gor@...ux.ibm.com, heiko.carstens@...ibm.com
Subject: Re: [PATCH bpf] selftests/bpf: make directory prerequisites
order-only
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 interested in is the existence of the
> directory it depends on, which is the case for selftests/bpf, this
> directory should be specified as an order-only prerequisite: it would
> still be created in case it does not exist, but it would not trigger a
> rebuild of a target in case it's considered changed.
>
> Signed-off-by: Ilya Leoshkevich <iii@...ux.ibm.com>
Applied, thanks!
Powered by blists - more mailing lists