SDU library modifications / workaround

I have a project where I want to change what the SDU library does or create my own version of it so instead of just looking for UPDATE.bin, it flashes the program memory with a .bin file on the SD card whose name it pulls from the eeprom.

I did a search for SDU library but everything seems to point to the SD library.

Can you please tell us where that library can be found?

SDU library is in SAMD and Renesas boards package. It allows to load a sketch from SD card at boot. SDU library is a binary of a loader sketch linked in front of the actual sketch.
the source of the loader is in GitHub with the library.

I am the author of the Uno R4 version and to compile it to reasonable size it it requires a special version of the boards package

Aside from that, it seems it would be straight forward for @calebcoden to modify the code and pull the file name from EEPROM (if the target board actually has EEPROM).

Im not very familiar with arduinos library system so if I want to use my own modified version of the library should I include my modified version of the code from github directly into my .cpp file in the library folder or should I keep it as some sort of seperate compiled binary?

nvm I figured it out