kernel.spec: fix with_kabichk on non-arm64 platform

kabichk was disabled on non-arm64 platform by commit 49ce945b96ab
("support 64k pagesize: skip kabi check"). Fix it.

Fixes: 49ce945b96ab ("support 64k pagesize: skip kabi check")
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
This commit is contained in:
Xie XiuQi 2024-12-16 23:21:07 +08:00
parent 3faebc8d32
commit 62a41c9506

View File

@ -1,4 +1,5 @@
%define with_signmodules 1
%define with_kabichk 1
# Default without toolchain_clang
%bcond_with toolchain_clang
@ -79,8 +80,6 @@ rm -f test_openEuler_sign.ko test_openEuler_sign.ko.sig
%if %{with_64kb}
%global package64kb -64kb
%define with_kabichk 0
%else
%define with_kabichk 1
%endif
%else
%define with_64kb 0