FacetimeHD Camera on Linux

I recently migrated away from MacOSX to Korora (Fedora) 25, Linux on my 2016 Macbook Pro.

One of the components I struggled to get working was the FacetimeHD (Broadcom 1570) camera, until I came across this driver, which seems to work nicely on my 4.9.11-200 kernel.

I pulled together a quick bash script which will compile and install the driver each time you update your kernel, and I've been using it without issue over 4 kernel updates so far.

https://gist.github.com/Stono/990ea9f0b3c41606c292f00382d421bf