OSDN Git Service

bpf-headers: drop HOST_LOADLIBES
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 29 Mar 2022 13:30:31 +0000 (16:30 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Wed, 18 May 2022 10:32:06 +0000 (13:32 +0300)
HOST_LOADLIBES was renamed to KBUILD_HOSTLDLIBS in kernel 4.19. As the
oldest kernel version we support is 5.10, cleanup HOST_LOADLIBES use.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
package/kernel/bpf-headers/Makefile

index 4ffe5a7..6d25a73 100644 (file)
@@ -56,7 +56,6 @@ KERNEL_MAKE := \
                LLVM=1 CC="$(CLANG)" LD="$(TARGET_CROSS)ld" \
                HOSTCC="$(HOSTCC)" \
                HOSTCXX="$(HOSTCXX)" \
                LLVM=1 CC="$(CLANG)" LD="$(TARGET_CROSS)ld" \
                HOSTCC="$(HOSTCC)" \
                HOSTCXX="$(HOSTCXX)" \
-               HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib" \
                KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \
                CONFIG_SHELL="$(BASH)" \
                INSTALL_HDR_PATH="$(PKG_BUILD_DIR)/user_headers"
                KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \
                CONFIG_SHELL="$(BASH)" \
                INSTALL_HDR_PATH="$(PKG_BUILD_DIR)/user_headers"