Although I'm unfamiliar with bluetooth drivers, how would you go about making binary files portable?<p>I'd imagine one would decompile the binaries, and modify the source code for redistribution as some portable library supporting whatever build target a user has. Of course, I assume (1) the decompiler can't detect compile-time macros detecting architecture and (2) you'd be screwed if you need shared libraries.<p>P.S. Interestingly, the first link when one googles "firmware decompiler" is to CIA code on Wikileaks lol