]> git.baikalelectronics.ru Git - uboot.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)
commit6a3c9a0314f6ce89e31c10db37748bfc6d20884a
tree2fc46caeb1de99568fa28eb2a1085562d0df5ad2
parentb598eec84a7ff8ebdb333b2b5f54ce0f948242a9
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