mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
8cb5263d3802da6cd22eb384ed6b0bb4bff7f103
support/scripts/check-bin-arch has an option -i to exclude a path (or many paths by using -i multiple times). This was implemented in commit01d90f0d09("spport/check-bin-arch: accept arbitrary per-package ignore paths"). Looking at this feature (which hasn't changed since being added), we can see that check-bin-arch automatically adds a trailing slash to all entries specified using -i. Thus, specifying a path to a file, e.g. "/usr/libexec/perf-core/tests/pe-file.exe" will cause check-bin-arch to add "/usr/libexec/perf-core/tests/pe-file.exe/" to the IGNORES array. When running the main loop, the file "/usr/libexec/perf-core/tests/pe-file.exe" will thus not be ignored, since it will not trigger a match the pattern that was added to the IGNORES array ("/usr/libexec/perf-core/tests/pe-file.exe/"). This means that the -i option in check-bin-arch only supports directories and not files. Fix the LINUX_TOOLS_BIN_ARCH_EXCLUDE in package/linux-tools/linux-tool-perf.mk.in to specify a directory, as the existing LINUX_TOOLS_BIN_ARCH_EXCLUDE can never have actually worked. Fixes:a7ad781626("package/linux-tools: Exclude checking PE binaries from perf test") Signed-off-by: Niklas Cassel <cassel@kernel.org> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit4d7292675a) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.6%
Python
18.8%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.2%