I assume from the line "Try to match validate settings" that the build script creates a custom
build.mk or similar. I'd like to know exactly what it does so that I can experiment with custom build settings without worrying about them being overridden by your build script.