Source taken from here and there is also another driver here.
Plan is to upstream this driver to the mainline kernel:
- Remove wakelock references
- Rework i2c to normal upstream
- Submit upstream
Just execute make in rda_wlan directory.
make KERNEL_DIR=/path/to/kernel/build
You might need to adjust the CROSS_COMPILE your linux distor's cross compiler.