Re: [PATCH] scripts/package: don't break if %{_smp_mflags} isn'tset

From: Michal Marek
Date: Wed Oct 13 2010 - 18:03:14 EST


On 13.10.2010 19:39, Nishanth Aravamudan wrote:
> Same fix as in 13797b77d419fc1b16eebf2993bf7b5cea65f0bf 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: Nishanth Aravamudan <nacc@xxxxxxxxxx>

Thanks for the fix, applied to kbuild-2.6.git#packaging.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/