linux: remove make headers_check

With the latest kernels - the following error is displayed in instead of
the no-op.

BUILD      linux (host)
    TOOLCHAIN      make (auto-detect)
make[1]: Entering directory LibreELEC.tv/build.LibreELEC- ...
=================== WARNING ===================
Since Linux 5.5, 'make headers_check' is no-op,
and will be removed after Linux 5.15 release.
Please remove headers_check from your scripts.
===============================================
This commit is contained in:
heitbaum 2021-07-19 11:56:29 +00:00
parent 2e9262e1b4
commit a1542dc849

View File

@ -82,14 +82,7 @@ post_patch() {
} }
make_host() { make_host() {
make \ :
ARCH=${HEADERS_ARCH:-${TARGET_KERNEL_ARCH}} \
HOSTCC="${TOOLCHAIN}/bin/host-gcc" \
HOSTCXX="${TOOLCHAIN}/bin/host-g++" \
HOSTCFLAGS="${HOST_CFLAGS}" \
HOSTCXXFLAGS="${HOST_CXXFLAGS}" \
HOSTLDFLAGS="${HOST_LDFLAGS}" \
headers_check
} }
makeinstall_host() { makeinstall_host() {