kernel-headers: don't try to build objtool if not amd64 target (for real this time)

This commit is contained in:
Ricardo Pardini
2023-03-17 15:39:22 -03:00
committed by Igor Pečovnik
parent 989b49ff6b
commit c146fdf28b

View File

@@ -435,7 +435,6 @@ function kernel_package_callback_linux_headers() {
make ARCH="${SRC_ARCH}" -j\$NCPU scripts
make ARCH="${SRC_ARCH}" -j\$NCPU M=scripts/mod/
# make ARCH="${SRC_ARCH}" -j\$NCPU modules_prepare # depends on too much other stuff.
make ARCH="${SRC_ARCH}" -j\$NCPU tools/objtool
echo "Done compiling kernel-headers tools (${kernel_version_family})."
EOT_POSTINST