[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Don't install tools if $(TOOLS) is empty
From: |
Thayne Harbaugh |
Subject: |
[Qemu-devel] Don't install tools if $(TOOLS) is empty |
Date: |
Tue, 09 Oct 2007 21:35:15 -0600 |
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 \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] Don't install tools if $(TOOLS) is empty,
Thayne Harbaugh <=