It already has a linux kernel with WiFi support. Android build tools will happily package your ramdisk together with the kernel into an android boot image. The "system" image you provide to the unbricking tool will be written unmodified unto the system partition.
That is to say that the work is all done for you. Enjoy :)