* [Qemu-devel] Don't install tools if $(TOOLS) is empty
@ 2007-10-10 3:35 Thayne Harbaugh
0 siblings, 0 replies; only message in thread
From: Thayne Harbaugh @ 2007-10-10 3:35 UTC (permalink / raw)
To: qemu-devel
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 \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-10 3:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 3:35 [Qemu-devel] Don't install tools if $(TOOLS) is empty Thayne Harbaugh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).