]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: Correctly propagate failure when removing target
authorPali Rohár <pali@kernel.org>
Mon, 26 Oct 2020 13:10:49 +0000 (14:10 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 1 Dec 2020 15:33:38 +0000 (10:33 -0500)
commit4532bf411e56ef32984e2e98cf1aab6755fd77e2
tree2fc46caeb1de99568fa28eb2a1085562d0df5ad2
parent8558217153df685992573e067bd9f95dd4d2ef3a
Makefile: Correctly propagate failure when removing target

On more places is used pattern 'command > $@ || rm -f $@'. But it does not
propagate failure from 'command' as 'rm -f' returns success.

Fix it by calling 'false' to correctly propagate failure after 'rm -f'.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile