Re: [PATCH 0/3] selftests/bpf: Fixes for out-of-tree builds

Ricardo B. Marlière <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,org.kernel.vger.bpf,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu Aug 6, 2026 at 5:29 PM -03, Ihor Solodrai wrote:
> On 7/28/26 5:06 PM, Ricardo B. Marlière (SUSE) wrote:
>> Hello,
>> 
>> When doing a simple out-of-tree build, e.g.:
>> 
>> $ git clean -fdx
>> $ mkdir ../build
>> $ make defconfig O=../build
>> $ scripts/kconfig/merge_config.sh -O ../build ../build/.config tools/testing/selftests/bpf/{config,config.x86_64}
>> $ make O=../build
>> $ make -C tools/testing/selftests install O=$PWD/../build SKIP_TARGETS= TARGETS=bpf
>> 
>> Will leave behind several build artifacts:
>> 
>> [...]
>> 
>> This series fixes this.
>
> Hi Ricardo,
>
> I think we should wait for the selftests makefile refactoring series [1]
> to land first, and then address the issues you've found.

Makes sense.

>
> When you do the respin, please test both build and clean with an
> in-tree kernel build and with O=
>
> Sending a few comments in a bit.

Ack, thanks for the reviews!

>
> [1] https://lore.kernel.org/bpf/[email protected]/
>
>
>> 
>> [...]
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.