summaryrefslogtreecommitdiff
path: root/tools/env/fw_env.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-09-05 18:01:29 (GMT)
committerTom Rini <trini@konsulko.com>2017-09-05 19:59:47 (GMT)
commit2d3229bea240a26516e70257e26757d0ec0d98f1 (patch)
tree4b0c97c9a76604c6e306c6193281be1c0ad46a71 /tools/env/fw_env.c
parent8dcb6f1f81e03846b9f6dbc4cb7a6bb8dbfcbb81 (diff)
downloadu-boot-2d3229bea240a26516e70257e26757d0ec0d98f1.tar.xz
env: Fix out of tree building of tools-all
With the move of environment code from common/ to env/ a number of changes needed to be made to various make targets. We missed updating some of the files required for out of tree builds of the tools. Correct the 'environ' target to know that we need to work under tools/env/ still (not tools/environ/) and then update the wrappers in env_attr.c and env_flags.c to point to the new correct file. Reported-by: Peter Robinson <pbrobinson@gmail.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/env/fw_env.c')
-rw-r--r--tools/env/fw_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 965e166..ab06415 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -755,7 +755,7 @@ static int flash_read_buf (int dev, int fd, void *buf, size_t count,
/*
* If a block is bad, we retry in the next block at the same
- * offset - see common/env_nand.c::writeenv()
+ * offset - see env/nand.c::writeenv()
*/
lseek (fd, blockstart + block_seek, SEEK_SET);