[U-Boot] [PATCH v2 2/2] env: Add 'envtools' target to 'make help'

Simon Glass sjg at chromium.org
Tue Sep 5 07:53:59 UTC 2017


The target is not currently mentioned anywhere. Add it to the help so
people can find it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Add new patch with a message in 'make help'

 Makefile         | 1 +
 tools/env/README | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index b19e3bd388..2746976393 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.
-- 
2.14.1.581.gf28d330327-goog



More information about the U-Boot mailing list