You have to create target specific interface to HW resources. Take model on bundled interfaces provided in drivers/ and create your own interface. You also have to update Makefile.in files for target specific cflags and options. Chose -targer= configure switch to compile your specific interface.
You are welcome to contribute-back your own interfaces ! Other Canfestival users will use it and provide feedback, tests and enhancements.