[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] tools/firmware: Fix typo in uninstall target

commit a623841b85bde261d0627676c7cff7745f107f3c
Author:     Hubert Jasudowicz <hubert.jasudowicz@xxxxxxx>
AuthorDate: Tue Aug 18 21:29:48 2020 +0200
Commit:     Wei Liu <wl@xxxxxxx>
CommitDate: Thu Aug 27 09:35:35 2020 +0000

    tools/firmware: Fix typo in uninstall target
    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@xxxxxxx>
    Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
 tools/firmware/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
index 809a5fd025..1f27117794 100644
--- a/tools/firmware/Makefile
+++ b/tools/firmware/Makefile
@@ -72,7 +72,7 @@ ifeq ($(CONFIG_OVMF),y)
        rm -f $(INST_DIR)/ovmf.bin
 ifeq ($(CONFIG_IPXE),y)
-       rm -r $(INST_DIR)/ipxe.bin
+       rm -f $(INST_DIR)/ipxe.bin
 ifeq ($(CONFIG_PV_SHIM),y)
        rm -f $(INST_DIR)/xen-shim
generated by git-patchbot for /home/xen/git/xen.git#staging



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.