From 37e63bb2c98052939de9b4e6cb30002016055c05 Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Mon, 27 Mar 2023 16:11:21 +0200 Subject: [PATCH] package/linux-tools: perf: ditch redundant -f 'rm' flag The value of the RM variable in make is 'rm -f' [0], thus the additional -f is redundant. [0] https://www.gnu.org/software/make/manual/make.html#index-RM Signed-off-by: Luca Ceresoli Signed-off-by: Yann E. MORIN --- package/linux-tools/linux-tool-perf.mk.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in index dda63cccec..5431c78152 100644 --- a/package/linux-tools/linux-tool-perf.mk.in +++ b/package/linux-tools/linux-tool-perf.mk.in @@ -166,8 +166,8 @@ endef # target unless BR2_PACKAGE_LINUX_TOOLS_PERF_SCRIPTS is enabled ifeq ($(BR2_PACKAGE_LINUX_TOOLS_PERF_SCRIPTS),) define PERF_INSTALL_REMOVE_SCRIPTS - $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/ - $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/ + $(RM) -r $(TARGET_DIR)/usr/libexec/perf-core/scripts/ + $(RM) -r $(TARGET_DIR)/usr/libexec/perf-core/tests/ endef endif