Alex,
I had not build webrtc for Linux arm, but I did port webrtc to another embedded OS. Here I would like to share some experience and assume ninja build system is used.
1. First I setup toolchain values for the OS in src/chromium/src/common.gypi, for example CC,CXX.
2. Like build for android, a file src/build/osa/envsetup.sh is created to setup path for the tool chain, I also setup AR_target, NM_target value for ar and nm command.
3. Some changes in the source code/gyp files may be needed depending on the OS and API supports.
The build process is same as that of build for Android listed below,
a) . build/osa/envsetup.sh
b) python webrtc/build/gyp_webrtc
c) ninja -C out/Debug -v webrtc_all
Hope this helps.
/Kaiduan