The "install" rules depends on both "all" and "subdirs-install" and
"all" depends on "subdirs-all". This leads the "install" rules to call
both "subdirs-all" and "subdirs-install" which create a race with two
concurrent `make` within the same directory (systemd) trying to make the
same things (xen.conf) and failing.
Ultimatly, "install" should only depend on the things it needs to
install, and not on "all".
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
build:
.PHONY: install
-install: all install-scripts install-rcd
+install: install-scripts install-rcd
.PHONY: install-scripts
install-scripts:
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
build:
.PHONY: install
-install: all install-scripts install-rcd
+install: install-scripts install-rcd
.PHONY: install-scripts
install-scripts:
build: $(HOTPLUGPATH)
.PHONY: install
-install: all install-scripts
+install: install-scripts
.PHONY: install-scripts
install-scripts: build