mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 17:39:39 +01:00
Perf's build process generates two copies of its internal headers, one at tools/lib/perf/include/internal and one at libperf/include/internal with files like xyarray.h. Although the files are identical, the binaries including them would see them at different paths and have different debuginfo data. To avoid this, build libperf.a first, which will ensure the libperf headers directory exists. This is used in preference to the other by the build process and results in consistent binaries. (From OE-Core rev: 0a886fcacaab0fbce1306c0f99d482f940a8f705) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>