Re: [PATCH RFC] Makefile: Export absolute srctree path for out-of-tree builds

2024-12-22 Thread Zhijian Li (Fujitsu)
On 21/12/2024 01:14, Quentin Monnet wrote: > 2024-12-17 11:10 UTC+0800 ~ Li Zhijian >> Fixes an issue where out-of-tree kselftest builds fail when building >> the BPF and bpftools components. The failure occurs because the top-level >> Makefile passes a relative srctree path ('..') to its sub-Ma

Re: [PATCH RFC] Makefile: Export absolute srctree path for out-of-tree builds

2024-12-22 Thread Zhijian Li (Fujitsu)
On 21/12/2024 11:41, Masahiro Yamada wrote: > On Tue, Dec 17, 2024 at 12:10 PM Li Zhijian wrote: >> >> Fixes an issue where out-of-tree kselftest builds fail when building >> the BPF and bpftools components. The failure occurs because the top-level >> Makefile passes a relative srctree path ('..

Re: [PATCH RFC] Makefile: Export absolute srctree path for out-of-tree builds

2024-12-20 Thread Masahiro Yamada
On Tue, Dec 17, 2024 at 12:10 PM Li Zhijian wrote: > > Fixes an issue where out-of-tree kselftest builds fail when building > the BPF and bpftools components. The failure occurs because the top-level > Makefile passes a relative srctree path ('..') to its sub-Makefiles, which > leads to errors in

Re: [PATCH RFC] Makefile: Export absolute srctree path for out-of-tree builds

2024-12-20 Thread Quentin Monnet
2024-12-17 11:10 UTC+0800 ~ Li Zhijian > Fixes an issue where out-of-tree kselftest builds fail when building > the BPF and bpftools components. The failure occurs because the top-level > Makefile passes a relative srctree path ('..') to its sub-Makefiles, which > leads to errors in locating neces

[PATCH RFC] Makefile: Export absolute srctree path for out-of-tree builds

2024-12-16 Thread Li Zhijian
Fixes an issue where out-of-tree kselftest builds fail when building the BPF and bpftools components. The failure occurs because the top-level Makefile passes a relative srctree path ('..') to its sub-Makefiles, which leads to errors in locating necessary files. For example, the following error is