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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] hoplugpath.sh: fix Makefile dependency.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] hoplugpath.sh: fix Makefile dependency.
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: 2009年7月23日 12:00:22 +0900
Cc: Christoph.Egger@xxxxxxx
Delivery-date: 2009年7月22日 20:00:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
hoplugpath.sh: fix Makefile dependency.
In tools/hotplug/common/Makefile, install-scripts depends on genpath.
So add its dependency. Otherwise parallel build sometimes fails as follows.
genpath and install-scripts command are being run simultaneously.
So When install-scripts tries to install it, it can be under creation.
make -C common install
make[5]: Entering directory `/xen-unstable.hg/tools/hotplug/common'
rm -f "hotplugpath.sh"; echo "SBINDIR=\"/usr/sbin\"" >> "hotplugpath.sh"; echo 
"BINDIR=\"/usr/bin\"" >> "hotplugpath.sh"; echo "LIBEXEC=\"/usr/lib/xen/bin\"" 
>> "hotplugpath.sh"; echo "LIBDIR=\"/usr/lib\"" >> "hotplugpath.sh"; echo 
"SHAREDIR=\"/usr/share\"" >> "hotplugpath.sh"; echo 
"PRIVATE_BINDIR=\"/usr/lib/xen/bin\"" >> "hotplugpath.sh"; echo 
"XENFIRMWAREDIR=\"/usr/lib/xen/boot\"" >> "hotplugpath.sh"; echo 
"XEN_CONFIG_DIR=\"/etc/xen\"" >> "hotplugpath.sh"; echo 
"XEN_SCRIPT_DIR=\"/etc/xen/scripts\"" >> "hotplugpath.sh"
[ -d /xen-unstable.hg/dist/install/etc/xen/scripts ] || \
 ../../../tools/cross-install -d -m0755 -p 
/xen-unstable.hg/dist/install/etc/xen/scripts
set -e; for i in "hotplugpath.sh"; \
 do \
 ../../../tools/cross-install -m0755 -p $i 
/xen-unstable.hg/dist/install/etc/xen/scripts; \
 done
install: cannot stat `hotplugpath.sh': No such file or directory
make[5]: *** [install-scripts] Error 1
make[5]: *** Waiting for unfinished jobs....
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makefile
--- a/tools/hotplug/common/Makefile
+++ b/tools/hotplug/common/Makefile
@@ -22,7 +22,7 @@ build: genpath
 install: all install-scripts
 
 .PHONY: install-scripts
-install-scripts:
+install-scripts: build
 [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \
 $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
 set -e; for i in $(XEN_SCRIPTS); \
-- 
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] xend: Don't call decode() if PV_{kernel, ramdisk} are '' , Masaki Kanno
Next by Date: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel , Teo En Ming
Previous by Thread: [Xen-devel] [PATCH] xend: Don't call decode() if PV_{kernel, ramdisk} are '' , Masaki Kanno
Next by Thread: [Xen-devel] Re: [PATCH] hoplugpath.sh: fix Makefile dependency. , Christoph Egger
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /