From: Takashi Iwai <tiwai@suse.de>
To: Lee Revell <rlrevell@joe-job.com>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: alsa makefiles don't work with -jN where N > 1
Date: Wed, 25 Aug 2004 15:57:17 +0200 [thread overview]
Message-ID: <s5hisb7fhhe.wl@alsa2.suse.de> (raw)
In-Reply-To: <1093376680.817.48.camel@krustophenia.net>
[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]
At Tue, 24 Aug 2004 15:44:40 -0400,
Lee Revell wrote:
>
> Subject says it all. Here is the relevant section from the GNU make documentation:
>
> `warning: jobserver unavailable: using -j1. Add `+' to parent make rule.'
> In order for make processes to communicate, the parent will pass
> information to the child. Since this could result in problems if
> the child process isn't actually a make, the parent will only do
> this if it thinks the child is a make. The parent uses the
> normal algorithms to determine this (see section 5.6.1 How the
> MAKEVariable Works). If the makefile is constructed such that
> the parent doesn't know the child is a make process, then the
> child will receive only part of the information necessary. In
> this case, the child will generate this warning message and
> proceed with its build in a sequential manner.
>
> I believe this is because some of the rules in the makefile aren't make
> commands, but rm -f's. This always seemed dangerous and sloppy to me -
> why does make need to rm -f anything? Isn't this the whole point of
> makefiles, so you don't have to rm -f your tree and rebuild every time
> you change something?
The attached oneliner should fix this.
Takashi
[-- Attachment #2: Type: text/plain, Size: 515 bytes --]
Index: alsa-driver/Makefile
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/Makefile,v
retrieving revision 1.73
diff -u -r1.73 Makefile
--- alsa-driver/Makefile 3 Jun 2004 17:04:36 -0000 1.73
+++ alsa-driver/Makefile 25 Aug 2004 13:56:14 -0000
@@ -98,7 +98,7 @@
all-deps: toplevel.config.in acinclude.m4 include/config1.h.in
include/sndversions.h:
- make dep
+ $(MAKE) dep
.PHONY: compile
compile: include/sound/version.h include/sndversions.h
prev parent reply other threads:[~2004-08-25 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 19:44 alsa makefiles don't work with -jN where N > 1 Lee Revell
2004-08-25 13:57 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hisb7fhhe.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=rlrevell@joe-job.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox