This is not quite complete.
For example, src/boot/selfboot.c:#if CONFIG_COMPRESSED_PAYLOAD_LZMA==1
We're going to need to rationalize the uses of this variable across old and new config tools and code.
I'll try to look more later or you can look too. This is not the only problem of this type we can expect to have.
ron