Re: [scripts] pass %{_smp_mflags} to make(1) in scripts/package/mkspec

From: Sam Ravnborg
Date: Wed Sep 08 2004 - 16:22:12 EST


On Tue, Sep 07, 2004 at 02:58:46PM -0700, William Lee Irwin III wrote:
> On Tue, Sep 07, 2004 at 02:17:41PM -0700, Andrew Morton wrote:
> > Yes, I get them too, with make -j6(ish). I used to get tons of these
> > warnings, but it stopped happening maybe a year ago. It looks like Sam
> > found a way to bring it back ;)
>
> This appears to have a specific effect, which is that make -j$N rpm in
> fact runs single-threaded. I've been using the following patch on SuSE
> and RedHat systems for a while.
>
> This patch passes %{_smp_mflags} to various build phases in
> scripts/package/mkspec so that -j$N is honored by make rpm.

Finally applied this.
I still plan to look into this pkg stuff - but this may be the best
way for the rpm-pkg target.

Sam
-
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/