strip kernel modules

This commit is contained in:
Alexander Stefanov 2019-11-12 15:41:56 +03:00
parent 300bd5e2db
commit 26660b3500

View file

@ -879,7 +879,7 @@ cp -f arch/x86/boot/bzImage %{temp_boot}/vmlinuz-%{kver_full}
# modules
install -d %{temp_modules}/%{kver_full}
%smake INSTALL_MOD_PATH=%{temp_root} KERNELRELEASE=%{kver_full} modules_install
%smake INSTALL_MOD_PATH=%{temp_root} KERNELRELEASE=%{kver_full} INSTALL_MOD_STRIP=1 modules_install
# headers
%if %{build_headers}