summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2015-11-23 15:48:58 -0600
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-11-25 10:21:54 -0600
commit68aa262ad09c81b8b1284340cc0d26b65c605df5 (patch)
treeea49b05b590d4f37d908a1ee110ade63ed003baa /qga/commands-posix.c
parent1a4dab849d5d06191ab5e5850f6b8bfcad8ceb47 (diff)
downloadfocaccia-qemu-68aa262ad09c81b8b1284340cc0d26b65c605df5.tar.gz
focaccia-qemu-68aa262ad09c81b8b1284340cc0d26b65c605df5.zip
makefile: fix qemu-ga make install for --disable-tools
ab59e3e introduced a fix for `make install` on w32 that involved
filtering out qemu-ga from $TOOLS install recipe so that we could
append $(EXESUF) to it before attempting to install the binary
via install-prog function.

install-prog takes a list of binaries to install to a particular
directory. If the list is empty it breaks. We guard against this
by ensuring $TOOLS is not empty prior to calling.

However, ab59e3e introduces extra filtering after this check which
can still result on us attempting to call install-prog with an
empty list of binaries. In particular, this occurs if we
build with the --disable-tools configure option, which results
in qemu-ga being the only member of $TOOLS.

Fix this by doing a simple s/qemu-ga/qemu-ga$(EXESUF)/ pass through
$TOOLS instead of filtering out qemu-ga to handle it seperately.

Reported-by: Steve Ellcey <sellcey@imgtec.com>
Cc: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions