How to compile a driver source code of Jetson into. Ko external loading

How to compile a driver source code of Jetson into. Ko external loading

Please refer to
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/camera_sensor_prog.html#