]> Git Repo - qemu.git/commit
ninjatool: rebuild multi-output targets if outputs are missing
authorPaolo Bonzini <[email protected]>
Fri, 11 Sep 2020 11:14:38 +0000 (13:14 +0200)
committerPaolo Bonzini <[email protected]>
Wed, 30 Sep 2020 17:09:19 +0000 (19:09 +0200)
commit1d14a8edce750c9d87ba6b03276815723de9a193
tree62c344b192dcda290f78756d629af87c062663e7
parent27d551c00d5458d1deda33508dab7453959ca2c6
ninjatool: rebuild multi-output targets if outputs are missing

The "stamp file trick" used to group targets of a single multi-output rule
prevents the user from deleting one such target in order to force its
rebuild.  Doing so will not touch the stamp file, and therefore only
the dummy ":" command will be executed.

With this patch, ninjatool writes rules that force-rebuild the stamp
file if any of its outputs are missing.  Rebuilding the missing
target therefore causes the stamp file to be rebuilt too.

Reported-by: Markus Armbruster <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
scripts/ninjatool.py
This page took 0.020915 seconds and 4 git commands to generate.