aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2019-09-26 19:13:44 -0600
committerDaniel Borkmann <[email protected]>2019-09-30 10:53:34 +0200
commit55d554f5d14071f7c2c5dbd88d0a2eb695c97d16 (patch)
tree85687b7767bf1c94f63f8c4d7944068e19dfca84 /tools/perf/scripts/python/net_dropmonitor.py
parent02dc96ef6c25f990452c114c59d75c368a1f4c8f (diff)
tools: bpf: Use !building_out_of_srctree to determine srctree
make TARGETS=bpf kselftest fails with: Makefile:127: tools/build/Makefile.include: No such file or directory When the bpf tool make is invoked from tools Makefile, srctree is cleared and the current logic check for srctree equals to empty string to determine srctree location from CURDIR. When the build in invoked from selftests/bpf Makefile, the srctree is set to "." and the same logic used for srctree equals to empty is needed to determine srctree. Check building_out_of_srctree undefined as the condition for both cases to fix "make TARGETS=bpf kselftest" build failure. Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions