rules.mak: cleanup config generation rules
commit4b25966ab976f3a7fd9008193b2defcc82f8f04d
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jan 2013 11:12:35 +0000 (15 13:12 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 29 Jan 2013 23:31:08 +0000 (30 01:31 +0200)
treea19816b62db02be320ee3bec52790bcb8248debb
parenta52a8841038638afe54ffb00e0aca48de0b1539a
rules.mak: cleanup config generation rules

This addresses two issues with config generation
1. rule generating timestamp has side effect.
Thus cleanup on error does not work.
2. rule for handling timestamp is too generic.
It can create any missing .h file.
As a result when .h file is removed, build
might try to create it using this rule which
results in build errors.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
rules.mak