Documentation: insert an additional information to android.txt
PATCH 1/1 Documentation: insert an additional information to android.txt
Without defining ARCH=arm, building a perf for Android ARM will be failed, because it needs architecture specific files.
So add related information to a document.
---
It is based on git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git,
perf-core-for-mingo branch.
tools/perf/Documentation/android.txt +4 -1
@@ -48,7 +48,10 @@ For x86: II. Compile perf for Android ------------------------------------------------ You need to run make with the NDK toolchain and sysroot defined above: - make CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}" +For arm: + make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}" +For x86: + make ARCH=x86 CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}" III. Install perf -----------------------------------------------
Signature · 1 line
1.7.9.5
2012-10-29 (월), 22:41 +0900, Joonsoo Kim:
Quoted 5 lines
Without defining ARCH=arm, building a perf for Android ARM will be failed, because it needs architecture specific files.
So add related information to a document.Signed-off-by Joonsoo Kim <[email protected]>
Thanks,
Namhyung
[tip:perf/core] perf tools: Add info about cross compiling for Android ARM
In reply to Joonsoo KimCommit-ID: cd69ef88a7cbe5ad404454ed8f491e6b16b4e86f Gitweb: http://git.kernel.org/tip/cd69ef88a7cbe5ad404454ed8f491e6b16b4e86f Author: Joonsoo Kim <[email protected]> AuthorDate: Mon, 29 Oct 2012 22:41:06 +0900 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 31 Oct 2012 12:17:49 -0200
perf tools: Add info about cross compiling for Android ARM
Without defining ARCH=arm, building perf for Android ARM will fail, because it needs architecture specific files.
So add related relevant information to the android documentation.
--- tools/perf/Documentation/android.txt | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
tools/perf/Documentation/android.txt +4 -1
@@ -48,7 +48,10 @@ For x86: II. Compile perf for Android ------------------------------------------------ You need to run make with the NDK toolchain and sysroot defined above: - make CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}" +For arm: + make ARCH=arm CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}" +For x86: + make ARCH=x86 CROSS_COMPILE=${NDK_TOOLCHAIN} CFLAGS="--sysroot=${NDK_SYSROOT}" III. Install perf -----------------------------------------------