upload tizen1.0 source
[kernel/linux-2.6.36.git] / tools / perf / build.sh
1 #!/bin/sh -x
2
3 CROSS_COMPILE="ccache /pub/toolchains/gcc-4.4.1/bin/arm-none-linux-gnueabi-"
4
5 OPTIONS="NO_DWARF=yes NO_NEWT=yes"
6 #DEBUG="V=2"    # V=2 --just-print
7 JOBS="-j 4"
8 STATIC="LDFLAGS=-static"
9 make CC="${CROSS_COMPILE}gcc" ${STATIC} ${OPTIONS} ARCH=arm EXTRA_CFLAGS+="-Iexternal/usr/include -Lexternal/usr/lib" ${DEBUG} ${JOBS}
10 ${CROSS_COMPILE}strip perf