Skip to content
Commit c2d5a730 authored by Nishanth Aravamudan's avatar Nishanth Aravamudan Committed by Michal Marek
Browse files

scripts/package: don't break if %{_smp_mflags} isn't set



Same fix as in 13797b77 is needed for the "new"
line invoking _smp_mflags for modules_install. Without the fix, `make
binrpm-pkg` fails with:

+ make '%{_smp_mflags}' KBUILD_SRC= modules_install
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[2]: *** No rule to make target `%{_smp_mflags}'.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.8S9B9e (%install)

Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 242c5ab0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment