Re: [PATCH v2 bpf-next] libbpf: make libbpf_version.h non-auto-generated

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

 



On Mon, Sep 13, 2021 at 3:23 PM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote:
>
> Turn previously auto-generated libbpf_version.h header into a normal
> header file. This prevents various tricky Makefile integration issues,
> simplifies the overall build process, but also allows to further extend
> it with some more versioning-related APIs in the future.
>
> To prevent accidental out-of-sync versions as defined by libbpf.map and
> libbpf_version.h, Makefile checks their consistency at build time.
>
> Simultaneously with this change bump libbpf.map to v0.6.
>
> Also undo adding libbpf's output directory into include path for
> kernel/bpf/preload, bpftool, and resolve_btfids, which is not necessary
> because libbpf_version.h is just a normal header like any other.
>
> Fixes: 0b46b7550560 ("libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations")
> Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>

Applied and reverted my earlier fix with FORCE.



[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