[openwrt/openwrt] build: drop HOST_LOADLIBES

LEDE Commits lede-commits at lists.infradead.org
Wed May 18 04:32:44 PDT 2022


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b998287b9193bf74631dbb2cbfff72babd3bcd0c

commit b998287b9193bf74631dbb2cbfff72babd3bcd0c
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Tue Mar 29 16:28:21 2022 +0300

    build: drop HOST_LOADLIBES
    
    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 at linux-ipv6.be>
---
 include/kernel-build.mk | 1 -
 include/kernel.mk       | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 80da4455bc..cc651f29b1 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -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="	:" \
 		) \
diff --git a/include/kernel.mk b/include/kernel.mk
index e4074a48f4..f27b78bbcc 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -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='') \




More information about the lede-commits mailing list