[Buildroot] [git commit] perf: remove tests from target
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jan 16 13:04:57 UTC 2016
commit: http://git.buildroot.net/buildroot/commit/?id=77e7cdb5de94801982d0b0c37d26a12884ae1785
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The perf tool installed test files in
output/target/usr/libexec/perf-core/tests/
which amounted to about 30+K.
Since they are not needed for normal perf operation, remove them.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
linux/linux-tool-perf.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux/linux-tool-perf.mk b/linux/linux-tool-perf.mk
index 0bd0ed1..07c3514 100644
--- a/linux/linux-tool-perf.mk
+++ b/linux/linux-tool-perf.mk
@@ -84,4 +84,5 @@ define PERF_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \
-C $(@D)/tools/perf O=$(@D)/tools/perf/ install
$(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/
+ $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/
endef
More information about the buildroot
mailing list