build: Add KBUILD_HOSTLDLIBS
authorHauke Mehrtens <hauke.mehrtens@intel.com>
Fri, 17 Jan 2020 17:47:33 +0000 (18:47 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Jan 2020 18:20:08 +0000 (19:20 +0100)
commiteec50c73c4c9cca89a4bca13a40517b262192fea
treea41c18cd8c5ea041084938f70c13601270d15c9c
parenta461f984c450a49bce1cac191620a8ee2a3329c0
build: Add KBUILD_HOSTLDLIBS

In Linux kernel commit 8377bd2b9ee1 ("kbuild: Rename HOST_LOADLIBES to
KBUILD_HOSTLDLIBS") HOST_LOADLIBES was renamed to KBUILD_HOSTLDLIBS.
This patch adapts the OpenWrt kernel build to this new variable. Without
this change the kernel host tools would not link against the libraries
found in the staging directory.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
include/kernel.mk