Building Source code for ARM?

Okay, so I recently purchased a chromebook that runs an nvidia tegra K1 processor chip, and have a crouton installation on it. Long story short, is it possible to build the source code so that it’s arm compatible on that box? And if so, how?