diff --git a/master.inc b/master.inc index ba34eb2..7564e6a 100644 --- a/master.inc +++ b/master.inc @@ -114,17 +114,17 @@ chmod 755 $RPM_BUILD_ROOT/boot/vmlinuz-%{KVERREL} # install DTBs %ifarch aarch64 || riscv64 -%{make} %{?_smp_mflags} dtbs_install INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/boot/dtb-%{KVERREL} +%{make} %{?_smp_mflags} INSTALL_DTBS_PATH=$RPM_BUILD_ROOT/boot/dtb-%{KVERREL} dtbs_install find arch/%{build_arch}/boot/dts -name '*.dtb' -type f -delete %endif # install modules # '$(mod-fw)' is overridden because there is no reason to install any firmware # since we already have 'linux-firmware' package as the dependency of this package. -%{make} %{?_smp_mflags} modules_install INSTALL_MOD_PATH=$RPM_BUILD_ROOT mod-fw= +%{make} %{?_smp_mflags} INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$RPM_BUILD_ROOT mod-fw= modules_install # install headers -%{make} %{?_smp_mflags} headers_install INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr +%{make} %{?_smp_mflags} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install # install other key files too install -m 644 .config $RPM_BUILD_ROOT/boot/config-%{KVERREL}