All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-xen-4.5] Remove dead qemu code from toplevel Makefile
@ 2014-10-08  7:41 Olaf Hering
  2014-10-08 12:56 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2014-10-08  7:41 UTC (permalink / raw)
  To: xen-devel
  Cc: Olaf Hering, Wei Liu, Ian Campbell, Stefano Stabellini, Ian Jackson

After commit b0f69ec5c71de1248d915c193b57c43e786857dd ("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>
---
 Makefile | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/Makefile b/Makefile
index bf8028a..0355b49 100644
--- a/Makefile
+++ b/Makefile
@@ -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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH for-xen-4.5] Remove dead qemu code from toplevel Makefile
  2014-10-08  7:41 [PATCH for-xen-4.5] Remove dead qemu code from toplevel Makefile Olaf Hering
@ 2014-10-08 12:56 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2014-10-08 12:56 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Wei Liu, Ian Jackson, Stefano Stabellini, xen-devel

On Wed, 2014-10-08 at 09:41 +0200, Olaf Hering wrote:
> After commit b0f69ec5c71de1248d915c193b57c43e786857dd ("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>

Nothing can possibly be using these (at least not successfully), so
acked + applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-08 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-08  7:41 [PATCH for-xen-4.5] Remove dead qemu code from toplevel Makefile Olaf Hering
2014-10-08 12:56 ` Ian Campbell

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.