diff options
author | Ilya Leoshkevich | 2019-07-12 15:56:31 +0200 |
---|---|---|
committer | Daniel Borkmann | 2019-07-15 23:10:17 +0200 |
commit | e46fc22e60a410d896448835adca95aa3332d25d (patch) | |
tree | 5a4bb8530eca95c6871f6242061046518cbc6252 /samples | |
parent | selftests/bpf: fix attach_probe on s390 (diff) | |
download | kernel-qcow2-linux-e46fc22e60a410d896448835adca95aa3332d25d.tar.gz kernel-qcow2-linux-e46fc22e60a410d896448835adca95aa3332d25d.tar.xz kernel-qcow2-linux-e46fc22e60a410d896448835adca95aa3332d25d.zip |
selftests/bpf: make directory prerequisites order-only
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@linux.ibm.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions