Am 05.09.2010 23:34, schrieb Kevin O'Connor:
Another possibility would be to add getopt to cbfstool and move compression selection for all add commands to it. For example, something like "cbfstool -c lzma ROM add-payload FILE NAME". However, that would require changing the build to use the new form everywhere.
We could move compression out of subheader fields into the regular file header, so every file could be compressed (though for some it wouldn't be useful, eg. romstages or EC roms), and then make this a global variable.
However, we had our reasons not to do this. Pick your poison
Patrick