forked from rpms/kernel
Compress modules on x86_64 architecture only (code clean up)
This commit is contained in:
parent
6a5decac7b
commit
39d79c587c
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user