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 <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 37e63bb2c9
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
9d215d42b9
commit
61acdc6047
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user