[PATCH] env: do not fail on non-existing env.in file
Tom Rini
trini at konsulko.com
Mon Apr 4 16:32:44 CEST 2022
On Sun, Apr 03, 2022 at 04:06:03PM +0200, Andrey Zhizhikin wrote:
> If include/generated/env.in does not exist, which is a typical case for
> clean build, quiet_cmd_gen_envp command tries to delete this file
> unconditionally.
>
> This produces following warning during the build:
> ENVP include/generated/env.in
> rm: cannot remove 'include/generated/env.in': No such file or directory
>
> Add '-f' option to the `rm` command to not complain if file does not
> exist.
>
> Fixes: f432eb6d8a9d ("env: Avoid using a leftover text-environment file")
> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin at leica-geosystems.com>
> Reviewed-by: Sean Anderson <seanga2 at gmail.com>
Applied to u-boot/master, 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/20220404/2b13ebfe/attachment.sig>
More information about the U-Boot
mailing list