]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
Makefile: Let the 'clean' rule remove qemu-ga.exe on Windows hosts
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sat, 27 Apr 2019 16:13:22 +0000 (18:13 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 3 May 2019 11:03:04 +0000 (13:03 +0200)
Commit 48ff7a625b36 added the QEMU Guest Agent tool with the
optional ".exe" suffix for Windows hosts, but forgot to use
this suffix in the 'clean' rule. Calling this rule let a dangling
executable in the build directory.
Correct this by using the proper optional suffix.

Fixes: 48ff7a625b36
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20190427161322.24642-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Makefile

index 43a7a047b452c7250b9426e50f4981d5c2ca7b30..e223bfe2a3a1f05056b65eecb84729046ab201ac 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -639,7 +639,7 @@ clean:
                ! -path ./roms/edk2/BaseTools/Source/Python/UPT/Dll/sqlite3.dll \
                -exec rm {} +
        rm -f $(edk2-decompressed)
-       rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
+       rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) qemu-ga$(EXESUF) TAGS cscope.* *.pod *~ */*~
        rm -f fsdev/*.pod scsi/*.pod
        rm -f qemu-img-cmds.h
        rm -f ui/shader/*-vert.h ui/shader/*-frag.h