This guide uses Ubuntu 14.04 LTS.
Get the latest verison of Intel xFSTK from here, I am using 1.7.3, http://sourceforge.net/projects/xfstk/files/ .
A few dependencies have to be installed before we can proceed, install them by running the command.
tar xf filename.tar.gz
sudo apt-get install build-essential devscripts libxml2-dev alien doxygen graphviz libusb-dev libboost-all-dev libqt4-dev qt4-qmake cmake qtcreatorAfter this finishes installing, export two environmental variables.
export DISTRIBUTION_NAME=ubuntu14.04Now run
cmake .Now all you have to do is run
make -j 4
make installYour flashall script will now work !