Install will fail if $(TOOLS) is empty - which happens when only user
emulation is built

Index: qemu/Makefile
===================================================================
--- qemu.orig/Makefile  2007-10-09 21:31:43.000000000 -0600
+++ qemu/Makefile       2007-10-09 21:40:05.000000000 -0600
@@ -67,7 +67,9 @@
 
 install: all $(if $(BUILD_DOCS),install-doc)
        mkdir -p "$(DESTDIR)$(bindir)"
+ifneq ($(TOOLS),)
        $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"
+endif
        mkdir -p "$(DESTDIR)$(datadir)"
        for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \
                video.x openbios-sparc32 pxe-ne2k_pci.bin \




Reply via email to