Skip to contentSkip to conversation

Remove dead qemu variables from toplevel Makefile

PATCH In review Olaf Hering 2 participants 2 messages Oct 10, 2014 – Oct 14, 2014 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove dead qemu variables from toplevel Makefile

The variables should have been removed already in 7ed06911dc596d23f21dee209b7f2db294e34b56 ("Remove dead qemu code from toplevel Makefile"), but I did not spot it at this time.
Now it looks like the intention initially was to let the install-tools depend on tools/qemu-xen-traditional-dir. But that did not work because there was the typo in the variables (TGT vs. TARGET), and CONFIG_QEMU_TRAD was not defined anyway.

So remove QEMU_TRAD_DIR_TARGET and QEMU_XEN_DIR_TARGET because they are not defined at all.

Cc Ian Jackson <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Wei Liu <[email protected]>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index 0355b49..f540e07 100644
@@ -65,11 +65,11 @@ install-xen:
 	$(MAKE) -C xen install
 
 .PHONY: install-tools
-install-tools: $(QEMU_TRAD_DIR_TARGET) $(QEMU_XEN_DIR_TARGET)
+install-tools:
 	$(MAKE) -C tools install
 
 .PHONY: install-stubdom
-install-stubdom: $(QEMU_TRAD_DIR_TARGET) install-tools
+install-stubdom: install-tools
 	$(MAKE) -C stubdom install
 ifeq (x86_64,$(XEN_TARGET_ARCH))
 	XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom install-grub
#1 lore raw
Quoted 8 lines · Olaf Hering

The variables should have been removed already in 7ed06911dc596d23f21dee209b7f2db294e34b56 ("Remove dead qemu code from toplevel Makefile"), but I did not spot it at this time.
Now it looks like the intention initially was to let the install-tools depend on tools/qemu-xen-traditional-dir. But that did not work because there was the typo in the variables (TGT vs. TARGET), and CONFIG_QEMU_TRAD was not defined anyway.

Quoted 4 lines

So remove QEMU_TRAD_DIR_TARGET and QEMU_XEN_DIR_TARGET because they are not defined at all.

Acked + applied.