Re: [PATCH bpf-next 3/5] libbpf,bpf: share BTF relocate-related code with kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 18, 2024 at 4:16 PM Eduard Zingerman <eddyz87@xxxxxxxxx> wrote:
>
> On Tue, 2024-06-18 at 15:53 -0700, Andrii Nakryiko wrote:
>
> [...]
>
>
> > > +# Some source files are common to libbpf.
> > > +vpath %.c $(srctree)/kernel/bpf:$(srctree)/tools/lib/bpf
> >
> > this is something new, what does vpath do? (sorry if this was
> > discussed before and I missed it)
>
> I was unfamiliar with this thing as well:
> https://www.gnu.org/software/make/manual/html_node/Selective-Search.html
> basically it allows to add a directory to dependency search path.
> An alternative would be to make a soft link, e.g. like with
> ./tools/testing/selftests/bpf/disasm.c

Cool, that seems quite useful, thanks!

>
> [...]





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux