tools/shim: Fix race condition creating linkfarm.stamp
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 29 Aug 2019 17:19:25 +0000 (18:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 3 Sep 2019 13:48:45 +0000 (14:48 +0100)
commitbf82703e8df0486cf0571d99c8f8d44991cfb8c9
tree94bd710b2c3c4a8c7b63ec6f6ccd280254f66975
parent63feb88edf98e46fbae1470484e952526ae3fd8f
tools/shim: Fix race condition creating linkfarm.stamp

In the case the while loop gets interrupted, the target musn't appear as
up-to-date.  The mov $X.tmp $X must be the last action of the rule.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/firmware/xen-dir/Makefile