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@linux-ipv6.be>
This commit is contained in:
		| @@ -162,7 +162,6 @@ define BuildKernel | |||||||
| 	$(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config | 	$(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config | ||||||
| 	$(_SINGLE)$(KERNEL_MAKE) \ | 	$(_SINGLE)$(KERNEL_MAKE) \ | ||||||
| 		$(if $(findstring Darwin,$(HOST_OS)), \ | 		$(if $(findstring Darwin,$(HOST_OS)), \ | ||||||
| 			HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses" \ |  | ||||||
| 			HOSTLDLIBS_mconf="-L$(STAGING_DIR_HOST)/lib -lncurses" \ | 			HOSTLDLIBS_mconf="-L$(STAGING_DIR_HOST)/lib -lncurses" \ | ||||||
| 			filechk_conf_cfg="	:" \ | 			filechk_conf_cfg="	:" \ | ||||||
| 		) \ | 		) \ | ||||||
|   | |||||||
| @@ -110,7 +110,6 @@ KERNEL_MAKE_FLAGS = \ | |||||||
| 	KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \ | 	KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \ | ||||||
| 	KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \ | 	KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \ | ||||||
| 	KBUILD_BUILD_VERSION="0" \ | 	KBUILD_BUILD_VERSION="0" \ | ||||||
| 	HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib" \ |  | ||||||
| 	KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \ | 	KBUILD_HOSTLDLIBS="-L$(STAGING_DIR_HOST)/lib" \ | ||||||
| 	CONFIG_SHELL="$(BASH)" \ | 	CONFIG_SHELL="$(BASH)" \ | ||||||
| 	$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \ | 	$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Stijn Tintel
					Stijn Tintel