If you have a script that build a custom driver, you could place it in scripts/hooks directory, the ci script will build it in order.