Cross compile an OOT and install on target

Even if you already have GNURadio installed on the target and sdk, read Cross compile GNU Radio and install on target to get an understanding of the overall process.

To build an OOT module, use the basic procedure for building GNURadio

$ mkdir build-arm $ cd build-arm $ cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE=../../gnuradio/cmake/Toolchains/oe-sdk_cross.cmake \ -DENABLE_DOXYGEN=OFF ../ $ make $ sudo make install DESTDIR=~/mydevice

Note that we use the default install path of  here. So you will need to edit  to include   and run. This only needs doing once. This needs to be done on the device, not the build machine.

$ touch /etc/ld.so.conf $ echo /usr/local/lib >> /etc/ld.so.conf $ ldconfig

You will also need to set the.

$ export PYTHONPATH=/usr/local/lib/python2.7/site-packages/

If you want to install in, you can use the   variable to do that.