All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Limpach <christian.limpach@gmail.com>
To: Jerone Young <jyoung5@us.ibm.com>
Cc: xen-devel <xen-devel@lists.sourceforge.net>,
	iap10@cl.cam.ac.uk, kaf24@cl.cam.ac.uk
Subject: Re: [PATCH] tools top level makefile cleanup
Date: Wed, 23 Mar 2005 21:11:07 +0000	[thread overview]
Message-ID: <3d8eece20503231311568f01d0@mail.gmail.com> (raw)
In-Reply-To: <1111525821.3796.4.camel@thinkpad>

On Tue, 22 Mar 2005 15:10:21 -0600, Jerone Young <jyoung5@us.ibm.com> wrote:
> I cleaned up the top level makefile in the tools directory. No major
> changes. Except I have it so that ioemmu is compiled only with x86_32.

I think the change below changes the behaviour:

> +SUBDIRS :=
> +SUBDIRS += check
...
> -install:
> -       $(MAKE) -C check
> -       $(MAKE) -C libxutil install
...
> +install:
> +       @for subdir in $(SUBDIRS); do \
> +               $(MAKE) -C $$subdir $@ || exit -1; \
> +       done

You're calling ``make -C check install'' while we want to call ``make
-C check''.  See the comments in tools/check/Makefile why we want
this...
# Check this machine is OK for installing on.
# DO NOT use this check from 'make install' in the parent
# directory, as that target can be used to make an installable
# copy rather than actually installing.

At least you didn't try to go down the insane "try to make everything
build in parallel" road, it might work for the tools but you need to
be careful to make sure that targets which other targets depend on get
built first.  None of the fancy Makefile tricks which other people
have posted seem to take this into account :-(

    christian


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click

  parent reply	other threads:[~2005-03-23 21:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22 21:10 [PATCH] tools top level makefile cleanup Jerone Young
2005-03-22 21:33 ` Adam Heath
2005-03-22 21:46   ` Jerone Young
2005-03-23 18:01     ` Adam Heath
2005-03-23 20:15       ` Hollis Blanchard
2005-03-23 20:48         ` Anthony Liguori
2005-03-23 20:57           ` Hollis Blanchard
2005-03-24 20:13             ` Adam Heath
2005-03-24 20:08           ` Adam Heath
2005-03-24 20:07         ` Adam Heath
2005-03-23 21:11 ` Christian Limpach [this message]
2005-03-23 21:17   ` Hollis Blanchard
2005-03-23 22:35     ` Christian Limpach
2005-03-24 20:11   ` Adam Heath
  -- strict thread matches above, loose matches on Subject: below --
2005-03-22 22:18 Nakajima, Jun
2005-03-22 22:14 ` Jerone Young
2005-03-22 22:25 Nakajima, Jun
     [not found] <mailman.1111526259.18440@unix-os.sc.intel.com>
     [not found] ` <4240A373.7080406@intel.com>
2005-03-23 20:41   ` Jerone Young
     [not found] <488257396@toto.iv>
2005-03-24 14:56 ` Jimi Xenidis

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=3d8eece20503231311568f01d0@mail.gmail.com \
    --to=christian.limpach@gmail.com \
    --cc=Christian.Limpach@cl.cam.ac.uk \
    --cc=iap10@cl.cam.ac.uk \
    --cc=jyoung5@us.ibm.com \
    --cc=kaf24@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.