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

[Minios-devel] [UNIKRAFT PATCH 8/8] build/Makefile.rules: Use $(RM) within build_cmd_fixdep



Instead of calling `rm -f` directly, use the command definition
$(RM) that is declared in the main `Makefile`.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 support/build/Makefile.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index 4a516b2..d374402 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -231,7 +231,7 @@ define build_cmd_fixdep =
        $(call build_cmd,$1,$2,$3,$4)
        $Q $(UK_FIXDEP) $(call tmp_depfile,$3) $3 '$(call strip,$4)' \
                $(BUILD_DIR) > $(call strip,$5) && \
-               rm -f $(call tmp_depfile,$3)
+               $(RM) $(call tmp_depfile,$3)
 endef
 
 # Returns a list of files to be cleaned when build_cmd was used
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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