I've seen it argued on HN that the GPL's definition of a derivative work differs from the legal definition, and if you never distribute the GPL'd code, you aren't bound by it.
Thus, one could write kernel drivers, which (it was argued) are not derivative works under copyright, and be safe as long as the kernel is not redistributed by the same entity.