Remove dead qemu code from toplevel Makefile

After commit b0f69ec5c7 ("tools: Make
qemu-xen-traditional build optional.") the existing make targets are
wrapped in ifeq ($(CONF),y), but CONF is never set because
config/Tools.mk is not included.

Drop the dead code. The same effect can be achieved by calling the make
commands directly, after calling configure.

A better approach would be a simple, single 'make $something' which
should be a wrapper around a targets in tools/Makefile that clones,
updates and cleans the subprojects. That has to be worked out in a
different patch.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Olaf Hering authored and Ian Campbell committed 2014-10-08 13:38:23 +01:00
1 parent d172da1bb4
commit 7ed06911dc
1 file changed
-22
-22
View File
@@ -64,28 +64,6 @@ docs: dist-docs
install-xen:
$(MAKE) -C xen install
ifeq ($(CONFIG_QEMU_TRAD),y)
QEMU_TRAD_DIR_TGT := tools/qemu-xen-traditional-dir
tools/qemu-xen-traditional-dir:
$(MAKE) -C tools qemu-xen-traditional-dir-find
.PHONY: tools/qemu-xen-traditional-dir-force-update
tools/qemu-xen-traditional-dir-force-update:
$(MAKE) -C tools qemu-xen-traditional-dir-force-update
endif
ifeq ($(CONFIG_QEMU_XEN),y)
QEMU_XEN_DIR_TGT := tools/qemu-xen-dir
tools/qemu-xen-dir:
$(MAKE) -C tools qemu-xen-dir-find
.PHONY: tools/qemu-xen-dir-force-update
tools/qemu-xen-dir-force-update:
$(MAKE) -C tools qemu-xen-dir-force-update
endif
.PHONY: install-tools
install-tools: $(QEMU_TRAD_DIR_TARGET) $(QEMU_XEN_DIR_TARGET)
$(MAKE) -C tools install
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.