tools/firmware: Fix typo in uninstall target
authorHubert Jasudowicz <hubert.jasudowicz@cert.pl>
Tue, 18 Aug 2020 19:29:48 +0000 (21:29 +0200)
committerWei Liu <wl@xen.org>
Thu, 27 Aug 2020 09:35:35 +0000 (09:35 +0000)
When ipxe.bin is missing, make uninstall will fail due to
wrong switch (-r) passed to rm command. Replace it with -f.

Signed-off-by: Hubert Jasudowicz <hubert.jasudowicz@cert.pl>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Wei Liu <wl@xen.org>
tools/firmware/Makefile

index 809a5fd0255e19b15abda6daf891ed1f5e63e9ad..1f27117794006558ee7960cd2de0ffdcdefb5c4a 100644 (file)
@@ -72,7 +72,7 @@ ifeq ($(CONFIG_OVMF),y)
        rm -f $(INST_DIR)/ovmf.bin
 endif
 ifeq ($(CONFIG_IPXE),y)
-       rm -r $(INST_DIR)/ipxe.bin
+       rm -f $(INST_DIR)/ipxe.bin
 endif
 ifeq ($(CONFIG_PV_SHIM),y)
        rm -f $(INST_DIR)/xen-shim