]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - tools/lib/bpf/Makefile
tools lib bpf: Fix double file test in Makefile
authorDaniel Díaz <daniel.diaz@linaro.org>
Tue, 15 Aug 2017 16:33:30 +0000 (11:33 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Aug 2017 19:39:14 +0000 (16:39 -0300)
commitf15d5e6dba97eb36eb638d62fad697937a9602e5
tree6dc76ce2f86862675aca67f2143ed792bd6e8de7
parent9881223c6cc0644cc3aeea41e1f19ea7e3041f33
tools lib bpf: Fix double file test in Makefile

The Makefile verifies the same file exists twice:
  test -f ../../../include/uapi/linux/bpf.h -a \
       -f ../../../include/uapi/linux/bpf.h

The purpose of the check is to ensure the diff (immediately after the
test) doesn't fail with these two files:

  tools/include/uapi/linux/bpf.h
  include/uapi/linux/bpf.h

Same recipe for bpf_common:
  test -f ../../../include/uapi/linux/bpf_common.h -a \
       -f ../../../include/uapi/linux/bpf_common.h

This corrects the location of the tests.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1502814810-960-1-git-send-email-daniel.diaz@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/bpf/Makefile