diff options
author | Romain Naour | 2020-05-21 23:22:06 +0200 |
---|---|---|
committer | Tom Rini | 2020-05-25 11:54:53 -0400 |
commit | 2aca8804d8d5f84d2d661e76e8d232c5c12445b5 (patch) | |
tree | a0cad7b1749b91ef5b479e66650d60d1f56f7f25 /tools/env | |
parent | 35e3991d914c7b7b6bbe4609ab614ee77a0e5fd4 (diff) |
tools/env/fw_env.h: remove env.h
As reported by Nicolas Carrier on the Buildroot mailing list [1],
there is a new build issue while building a program which interacts with
the u-boot environment. This program uses the headers of the ubootenv
library provided by uboot-tools.
This is a recent change from uboot [2] adding "#include <env.h>" to
fw_env.h. Adding env.h require a board configuration to build since
it also include compiler.h (and others uboot internal includes).
env.h include seems not needed since env_set() is not used in fw_env tool.
Nicolas removed env.h from fw_env tool and fixed it's build issue.
This problem is present since uboot v2019.10.
[1] http://lists.busybox.net/pipermail/buildroot/2020-April/280307.html
[2] https://gitlab.denx.de/u-boot/u-boot/-/commit/9fb625ce05539fe6876a59ce1dcadb76b33c6f6e
Reported-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Diffstat (limited to 'tools/env')
-rw-r--r-- | tools/env/fw_env.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index b60fbfc8f8d..78c803c9447 100644 --- a/tools/env/fw_env.h +++ b/tools/env/fw_env.h @@ -4,7 +4,6 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <env.h> #include <stdint.h> /* |