Is there a recipe saying how to add Mesa to an embedded system ?

More details :
I have an i7 system (Ivy bridge), with Linux 3.4.47
Now I am required to add accesability to the GPU (via openGL).

1) Are there any known limitations as to which version to choose ?
2) How tp build with the already existing toolchain ?
3) Does it require configuration before build ? How ?
3) How to install on the target ? Just copy file(s) into /usr/lib ?