I think you are missing an important point. Once the developer issues
a patch, that patch becomes part of everyone's source tree. So
_everyone_ ends up changing the generated files, at which point they
run into the timestamp and source repository problems. Overwriting in
place works for the developer but it causes problems for the rest of
the world. The rest of the world can never guarantee that their
timestamps match the developer's timestamps, in fact you can almost
guarantee that they don't.
<emp>
Any timestamp check in kbuild is unreliable when generated files are
shipped and then updated in place, even if nobody except the
maintainer ever changes the generated file. Distributing a patch has
exactly the same effect on timestamps as changing the generated file.
</emp>
You want timestamp checks for aic7xxx firmware, but including those
checks in kbuild will hit everyone else the moment they apply your
latest patch. We either fix the dependency problem so it works for
everyone or we remove all dependency checking on aic7xxx firmware
generation. Fixing the problem for everyone is my preferred option
because it gives better support for people working on the firmware.
Timestamps on generated and shipped files cannot reliably detect if
"base" and "gen" are in sync or not, hence the use of md5sum.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/