How to add new interface driver in OpenOCD

Hello, I have my custom hardware interface. in return, I need to create a driver in OpenOCD in order to deal with my Hardware.

My case is similar to using sysfsgpio driver in a raspberry pi board. However I can’t use this sysfs (it will not be applied in my final linux).

My question is how to build a driver (like sysfsgpio) in openOCD?

I hope there is a way without a need to (configure, make, make install) each time I need to modify my driver

Thanks in Advance