RG99

build kernel perf


參考資訊:
1. perf-tool-for-mips-platform

kernel


perf

$ cd
$ wget https://github.com/steward-fu/rg99/releases/download/v1.0/toolchain_rg99.tar.gz
$ tar xvf toolchain_rg99.tar.gz
$ sudo mv rg99 /opt/
$ export PATH=$PATH:/opt/rg99/usr/bin

$ cd
$ wget https://github.com/steward-fu/rg99/releases/download/v1.1/perf.tar.gz
$ tar xvf perf.tar.gz
$ cd perf/tools/perf
$ make ARCH=mips CROSS_COMPILE=mipsel-linux- EXTRA_CFLAGS="-Wno-restrict -Wno-format-truncation -Wno-format-overflow -Wno-implicit-fallthrough -Wno-stringop-truncation -EL -I/opt/rg99/usr/include" LDFLAGS="-L/opt/rg99/usr/lib -Wl,-rpath=/opt/rg99/usr/lib"


返回上一頁