]> git.baikalelectronics.ru Git - uboot.git/commit
env: Avoid using a leftover text-environment file
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2022 05:37:23 +0000 (22:37 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 01:18:51 +0000 (21:18 -0400)
commit673de390c485812f794451886c92b63d1d5961a6
treed29dbc30c585a9193d27de1d1e753da48f2ca03f
parent8e0590f02597b74122571488126c4cadcc92582f
env: Avoid using a leftover text-environment file

If include/generated/environment.h exists (perhaps leftover from a build
of another board) it is used, even if the board currently being built does
not have a text environment.

This causes a build error. Fix it by emptying the file if it should not be
there.

Fixes: https://source.denx.de/u-boot/u-boot/-/issues/9
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Sean Anderson <seanga2@gmail.com>
Makefile