All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Xen Devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] tools/hotplug/Linux: Fix build
Date: Fri, 10 Oct 2014 15:20:37 +0100	[thread overview]
Message-ID: <20141010142037.GD1742@perard.uk.xensource.com> (raw)
In-Reply-To: <20141010111905.GA9011@aepfle.de>

On Fri, Oct 10, 2014 at 01:19:05PM +0200, Olaf Hering wrote:
> On Fri, Oct 10, Anthony PERARD wrote:
> 
> > I think the problem is in tools/Linux/Makefile, where we have:
> > all: subdirs-all
> > install: all subdirs-install
> > 
> > Maybe the "install" rules should depend only on the things it need to
> > install, and not an "all".
> 
> Does removing all fix the failure for you?

Yes, it does, no more weird two calls of make on the systemd/Makefile
(with all and install). There is only one call left: "make -C systemd
install". And make does not fail to make xen.conf.

I've did the test on top of staging, with ian revert commit.

Here is the patch that I have tested:


>From 41cfaf5318cb0346e31a8e97939b8805145eb182 Mon Sep 17 00:00:00 2001
From: Anthony PERARD <anthony.perard@citrix.com>
Date: Fri, 10 Oct 2014 12:22:34 +0100
Subject: [PATCH] tools/hotplug/Linux: Removing of "all" dependency from
 "install" rule.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

---
 tools/hotplug/Linux/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/hotplug/Linux/Makefile b/tools/hotplug/Linux/Makefile
index 8cdaa9a..1706c05 100644
--- a/tools/hotplug/Linux/Makefile
+++ b/tools/hotplug/Linux/Makefile
@@ -43,7 +43,7 @@ all: subdirs-all
 build:
 
 .PHONY: install
-install: all install-initd install-scripts install-udev subdirs-install
+install: install-initd install-scripts install-udev subdirs-install
 
 # See docs/misc/distro_mapping.txt for INITD_DIR location
 .PHONY: install-initd
-- 
Anthony PERARD


-- 
Anthony PERARD

  reply	other threads:[~2014-10-10 14:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09 16:35 [PATCH] tools/hotplug/Linux: Fix build Anthony PERARD
2014-10-09 16:53 ` Olaf Hering
2014-10-09 16:54 ` Olaf Hering
2014-10-09 16:58   ` Andrew Cooper
2014-10-10  8:35     ` Ian Campbell
2014-10-10  8:44       ` Ian Campbell
2014-10-10  9:19         ` Wei Liu
2014-10-10  9:20           ` Ian Campbell
2014-10-10 10:03             ` Olaf Hering
2014-10-10  9:59         ` Olaf Hering
2014-10-10 10:42           ` Anthony PERARD
2014-10-10 11:19             ` Olaf Hering
2014-10-10 14:20               ` Anthony PERARD [this message]
2014-10-10 14:28                 ` Olaf Hering
2014-10-10 14:31                   ` Ian Campbell
2014-10-10 15:34                     ` Anthony PERARD
2014-10-13 14:31                       ` [PATCH V2] tools/hotplug: Removing of "all" dependency from "install" rule Anthony PERARD
2014-10-13 15:26                         ` Ian Jackson
2014-10-14  9:58                           ` Ian Campbell
2014-10-14  9:59                           ` Ian Campbell

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=20141010142037.GD1742@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=olaf@aepfle.de \
    --cc=xen-devel@lists.xen.org \
    /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.