aboutsummaryrefslogtreecommitdiff
path: root/lib/rtc-lib.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-03-11 22:37:23 -0700
committerTom Rini <trini@konsulko.com>2022-03-31 21:18:51 -0400
commitf432eb6d8a9d8a9382f6e7f0096fb4ee4672b8e8 (patch)
treed29dbc30c585a9193d27de1d1e753da48f2ca03f /lib/rtc-lib.c
parent64b78f5721e65e96ea5a3d100d46b2e6fda722df (diff)
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>
Diffstat (limited to 'lib/rtc-lib.c')
0 files changed, 0 insertions, 0 deletions