[PATCH] Makefile: Correctly propagate failure when removing target
Tom Rini
trini at konsulko.com
Wed Dec 2 22:21:53 CET 2020
On Mon, Oct 26, 2020 at 02:10:49PM +0100, Pali Rohár wrote:
> 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 at kernel.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201202/b026f09c/attachment.sig>
More information about the U-Boot
mailing list