John,
I'd like to add a system to MXE that generates a files list for the compiled packages. Eventually, I intend to use that information to build a smarter installer and/or separate installers. The footprint on the current compilation process should be minimal.
I've attached a prototype. The patch generate-file-list implements the functionality in the core Makefile: it passes additional arguments to $(PKG)_BUILD macro to be used as prefix and DESTDIR, then it generates a files list and copy over the installed files into the real installation directory.
I've also provided an example of changes required on the cURL module.
Do you agree with the concept?
Michael.