Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-30 Thread Daniel Borkmann
On Mon, Sep 30, 2019 at 08:16:55AM -0600, Shuah Khan wrote: > On 9/30/19 2:58 AM, Daniel Borkmann wrote: > > On Thu, Sep 26, 2019 at 07:13:44PM -0600, Shuah Khan wrote: > > > make TARGETS=bpf kselftest fails with: > > > > > > Makefile:127: tools/build/Makefile.include: No such file or directory >

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-30 Thread Shuah Khan
On 9/30/19 2:58 AM, Daniel Borkmann wrote: On Thu, Sep 26, 2019 at 07:13:44PM -0600, 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

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-30 Thread Daniel Borkmann
On Thu, Sep 26, 2019 at 07:13:44PM -0600, 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 eq

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-27 Thread Song Liu
> On Sep 27, 2019, at 12:03 PM, Shuah Khan wrote: > > On 9/27/19 12:44 PM, Song Liu wrote: >> 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

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-27 Thread Shuah Khan
On 9/27/19 12:44 PM, Song Liu wrote: 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

Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine srctree

2019-09-27 Thread Song Liu
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 e