package/linux-tools: Exclude checking PE binaries from perf test
Since upstream Linux commit ed21d6d7c48e6e96c2d617e304a7ebfbd17b1807 ("perf tests: Add test for PE binary format support") present in >= v5.10 there is an unconditional installation of PE binaries. Some toolchains have a readelf tool that correctly interpret the PE files, and reports ELF-alike fields. This causes check-bin-arch to reject those files. Make sure that these binaries are excluded from being checked to allow the installation of the perf tests. Fixes:6fcdaa4c50
("package/linux-tools: Allow installation of perf scripts") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commita7ad781626
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
69d9cdfcc7
commit
af738be309
@ -169,6 +169,10 @@ define PERF_INSTALL_REMOVE_SCRIPTS
|
||||
$(RM) -r $(TARGET_DIR)/usr/libexec/perf-core/scripts/
|
||||
$(RM) -r $(TARGET_DIR)/usr/libexec/perf-core/tests/
|
||||
endef
|
||||
|
||||
LINUX_TOOLS_BIN_ARCH_EXCLUDE += \
|
||||
/usr/libexec/perf-core/tests/pe-file.exe \
|
||||
/usr/libexec/perf-core/tests/pe-file.exe.debug
|
||||
endif
|
||||
|
||||
define PERF_INSTALL_TARGET_CMDS
|
||||
|
Loading…
Reference in New Issue
Block a user