Remove use of headers_check

This change removes the use of headers_check from the build script,
since this target is removed from Linux since v5.15.

See 4fbce81933
This commit is contained in:
Fabian Mastenbroek 2022-03-21 16:53:01 +01:00
parent 7b237c1d85
commit f6ea761a45
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85

1
debian/rules vendored
View file

@ -200,7 +200,6 @@ debian/${PVE_HEADER_PKG}.%: debian/templates/pve-headers.%.in
.usr_headers_install_mark:
rm -rf '${PKG_DIR}'
mkdir -p '${PKG_DIR}'
$(MAKE) -C ${KERNEL_SRC} headers_check ARCH=$(KERNEL_HEADER_ARCH)
$(MAKE) -C ${KERNEL_SRC} headers_install ARCH=$(KERNEL_HEADER_ARCH) INSTALL_HDR_PATH='$(CURDIR)'/$(OUT_DIR)
rm -rf $(OUT_DIR)/include/drm $(OUT_DIR)/include/scsi
find $(OUT_DIR)/include \( -name .install -o -name ..install.cmd \) -execdir rm {} +