WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/8] tools - Add generic subdirs rules

To: Bastian Blank <bastian@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/8] tools - Add generic subdirs rules
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 25 Mar 2008 10:20:28 +0000
Delivery-date: Tue, 25 Mar 2008 03:21:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080321130142.GA30833@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciOYdjHF3MK//pVEdyTBAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH 1/8] tools - Add generic subdirs rules
User-agent: Microsoft-Entourage/11.4.0.080122
On 21/3/08 13:01, "Bastian Blank" <bastian@xxxxxxxxxxxx> wrote:

> Add generic subdirs rules.
> 
> Use them in the toplevel Makefile.
> 
> Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

> diff -r 76c9cf11ce23 -r f08e76266aa7 tools/Rules.mk
> --- a/tools/Rules.mk Fri Mar 21 09:45:34 2008 +0000
> +++ b/tools/Rules.mk Fri Mar 21 13:50:27 2008 +0100
> @@ -49,3 +49,13 @@ check-$(CONFIG_X86) = $(call cc-ver-chec
>  %.o: %.cc
> $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
>  
> +.PHONY: subdirs-all subdirs-clean subdirs-install
> +.NOTPARALLEL: subdirs-all subdirs-clean subdirs-install

No, .NOTPARALLEL in GNU Make causes parallelism to be globally disabled, not
just for the listed dependent targets. It's really not the right answer
here, and it allowed you in a later patch to break the dependencies in
tools/firmware -- it may look neater to list subdirs-all as a dependency of
all, but it's not correct in all cases!

I applied your patches, then removed .NOTPARALLEL and fixed up the
breakages.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>