perf: remove tests from target
authorThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Fri, 15 Jan 2016 08:47:35 +0000 (09:47 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 16 Jan 2016 13:04:57 +0000 (14:04 +0100)
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@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/linux-tool-perf.mk

index 0bd0ed1a13ebb9b36ad125751a32176fe42e8574..07c3514381e3074e97c46d8f7ee0847af0da5f26 100644 (file)
@@ -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