aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hotplug/common
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-23 09:00:55 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-23 09:00:55 +0100
commitf230ee0045d0a8a3c4cdbaa10f70df7fee88324f (patch)
treeebbe109c2d33888bd0947dea89436363b93fe8f0 /tools/hotplug/common
parent3aa462c6294408e5d0b7a44b62b962e446ed6cd7 (diff)
downloadxen-f230ee0045d0a8a3c4cdbaa10f70df7fee88324f.tar.gz
xen-f230ee0045d0a8a3c4cdbaa10f70df7fee88324f.tar.bz2
xen-f230ee0045d0a8a3c4cdbaa10f70df7fee88324f.zip
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. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'tools/hotplug/common')
-rw-r--r--tools/hotplug/common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makefile
index b95bf4ee8b..35fab6daf2 100644
--- 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); \