[lkml]   [2019]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree
On Thu, Sep 26, 2019 at 6:14 PM Shuah Khan <> wrote:
> 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 <>

The fix looks reasonable. Thanks!

However, I am still seeing some failure:

make TARGETS=bpf kselftest
-lcap -lelf -lrt -lpthread -o
make[3]: test_verifier.c: Command not found

Is this just a problem with my setup?


 \ /
  Last update: 2019-09-27 20:45    [W:0.084 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site