perf docs: Document cross compilation
authorLeo Yan <leo.yan@arm.com>
Wed, 17 Jul 2024 08:22:11 +0000 (09:22 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 26 Jul 2024 18:15:55 +0000 (11:15 -0700)
commitd27087c76e3c859ea05b7581ef7ce8aa5a088dd8
treeb249cd098704e5bb061271bbf4aed60c1af65d85
parentf42596c73872b753ff1799bc7fc79b1100226da1
perf docs: Document cross compilation

Records the commands for cross compilation with two methods.

The first method relies on Multiarch. The second approach is to explicitly
specify the PKG_CONFIG variables, which is widely used in build system
(like Buildroot, Yocto, etc).

Co-developed-by: James Clark <james.clark@arm.com>
Signed-off-by: James Clark <james.clark@arm.com>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Tested-by: Ian Rogers <irogers@google.com>
Cc: amadio@gentoo.org
Cc: Thomas Richter <tmricht@linux.ibm.com>
Link: https://lore.kernel.org/r/20240717082211.524826-7-leo.yan@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/Documentation/Build.txt