How to build kernel from source for Debian or Ubuntu or other Distros

Hussam Al-Hertani
Hussam Al-Hertani New Member Posts: 1
Hello, I'm very interested inpurchasing an upboard (maybe 2). But I haven't found any documentation on how to build the kernel from source for the upboard. Being an x86 machine this should be pretty straightforwards with some minor modifications to the kernel config file, a far cry from the complications found with ARM based SBCs.

Is it possible to simply download the distro of my choice (say Debian from and rebuild the kernel from source to activate the GPIO, I2C, ADC e.t.c?

If so I'd really appreciate it if someone could outline the procedure or possibly have a tutorial for this process available in the Wiki.