1
0
forked from rpms/kernel

Compress modules on x86_64 architecture only (code clean up)

This commit is contained in:
Yuriy Kohut 2024-05-10 14:07:55 +03:00
parent 6a5decac7b
commit 39d79c587c

View File

@ -34,11 +34,17 @@
# vsdo install # vsdo install
%define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1} %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1}
# Compress modules on all architectures that build modules.
%ifarch x86_64
%global zipmodules 1
%else
%global zipmodules 0
%endif
# Kernel-lt, devel, headers, perf, tools and bpftool. # Kernel-lt, devel, headers, perf, tools and bpftool.
%ifarch x86_64 %ifarch x86_64
%define with_doc 0 %define with_doc 0
%define doc_build_fail true %define doc_build_fail true
%define zipmodules 1
%endif %endif
# Documentation. # Documentation.
@ -49,7 +55,6 @@
%define with_tools 0 %define with_tools 0
%define with_bpftool 0 %define with_bpftool 0
%define with_vdso_install 0 %define with_vdso_install 0
%define zipmodules 0
%endif %endif
# Compressed modules. # Compressed modules.