[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190930085815.GA7249@pc-66.home>
Date: Mon, 30 Sep 2019 10:58:15 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: ast@...nel.org, kafai@...com, songliubraving@...com, yhs@...com,
netdev@...r.kernel.org, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH] tools: bpf: Use !building_out_of_srctree to determine
srctree
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 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 <skhan@...uxfoundation.org>
Applied, thanks!
Powered by blists - more mailing lists