Skip to content

Cross compiling perf for ARC

Alexey Brodkin edited this page Mar 19, 2015 · 7 revisions

Based on Buildroot's http://git.buildroot.net/buildroot/tree/package/perf/perf.mk

cd tools/perf
export ARCH=arc
export CROSS_COMPILE=arc-linux-uclibc-
make NO_LIBAUDIT=1 NO_NEWT=1 NO_GTK2=1 NO_LIBPERL=1 NO_LIBPYTHON=1 WERROR=0 ASCIIDOC= NO_BACKTRACE=1 NO_LIBELF=1 NO_DWARF=1

To build statically add to command line LDFLAGS=-static

Clone this wiki locally