summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-09-05 01:53:59 -0600
committerTom Rini <trini@konsulko.com>2017-09-05 20:34:09 -0400
commit84a42069f253554dbc2c7b4bbd28149a7a88c0ab (patch)
treef7b3c12a767e9c88b165b9fbd16c6600daa79101
parent573329571435eae967182baf94b2146188fb1ee5 (diff)
env: Add 'envtools' target to 'make help'
The target is not currently mentioned anywhere. Add it to the help so people can find it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--Makefile1
-rw-r--r--tools/env/README3
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 70971b1101..5bb3b09115 100644
--- a/Makefile
+++ b/Makefile
@@ -1586,6 +1586,7 @@ help:
@echo ' ubootrelease - Output the release version string (use with make -s)'
@echo ' ubootversion - Output the version stored in Makefile (use with make -s)'
@echo " cfg - Don't build, just create the .cfg files"
+ @echo " envtools - Build only the target-side environment tools"
@echo ''
@echo 'Static analysers'
@echo ' checkstack - Generate a list of stack hogs'
diff --git a/tools/env/README b/tools/env/README
index bc6e2c11ef..709251383c 100644
--- a/tools/env/README
+++ b/tools/env/README
@@ -7,6 +7,9 @@ In order to cross-compile fw_printenv, run
in the root directory of the U-Boot distribution. For example,
make CROSS_COMPILE=arm-linux- envtools
+You should then create a symlink from fw_setenv to fw_printenv. They use
+the same program and its function depends on its basename.
+
For the run-time utility configuration uncomment the line
#define CONFIG_FILE "/etc/fw_env.config"
in fw_env.h.