build: drop HOST_LOADLIBES
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 29 Mar 2022 13:28:21 +0000 (16:28 +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>
include/kernel-build.mk
include/kernel.mk

index 80da4455bc04fccd1c7834fe8b94c29399289bd2..cc651f29b112a8b2232dd6f9dfaffb1ab3055e4f 100644 (file)
@@ -162,7 +162,6 @@ define BuildKernel
        $(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config
        $(_SINGLE)$(KERNEL_MAKE) \
                $(if $(findstring Darwin,$(HOST_OS)), \
-                       HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses" \
                        HOSTLDLIBS_mconf="-L$(STAGING_DIR_HOST)/lib -lncurses" \
                        filechk_conf_cfg="      :" \
                ) \
index e4074a48f4b27b3522b95b239af0817b5bacfec9..f27b78bbcc214edd12b06849843acbe42c09a354 100644 (file)
@@ -110,7 +110,6 @@ KERNEL_MAKE_FLAGS = \
        KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \
        KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \
        KBUILD_BUILD_VERSION="0" \
-       HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib" \
        KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \
        CONFIG_SHELL="$(BASH)" \
        $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \