a LONG time ago I used a debian chroot to compile stuff for arm on an old kindle touch. I dont see why using a debian host vm couldnt do the same thing?
https://www.mobileread.com/forums/sh...9&postcount=30
if that works I had also created a script that compared new libraries with the ones already on the kindle and then could load the new ones when running the program?
https://www.mobileread.com/forums/sh...5&postcount=25
These are just suggestions and may not work for your project but I thought it seemed similar enough with what you were asking? Good luck!