Commit 932a79df5d285d4fe48e7fce3b3c4f251d86af3f
1 parent
5a9b7d36
Don't install tools if $(TOOLS) is empty, by Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3415 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
Makefile
... | ... | @@ -67,7 +67,9 @@ endif |
67 | 67 | |
68 | 68 | install: all $(if $(BUILD_DOCS),install-doc) |
69 | 69 | mkdir -p "$(DESTDIR)$(bindir)" |
70 | +ifneq ($(TOOLS),) | |
70 | 71 | $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" |
72 | +endif | |
71 | 73 | mkdir -p "$(DESTDIR)$(datadir)" |
72 | 74 | for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ |
73 | 75 | video.x openbios-sparc32 pxe-ne2k_pci.bin \ | ... | ... |