]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
env: Add 'envtools' target to 'make help'
authorSimon Glass <sjg@chromium.org>
Tue, 5 Sep 2017 07:53:59 +0000 (01:53 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 6 Sep 2017 00:34:09 +0000 (20:34 -0400)
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>
Makefile
tools/env/README

index 70971b110148b001354a82b4cb75b3ee79453395..5bb3b09115eecdc38db667d7d20eb24e5c580f11 100644 (file)
--- 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'
index bc6e2c11efde03d7220acd1ddbff71c945d6aa7e..709251383c6dc22eead9521b195fd389de6b45ed 100644 (file)
@@ -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.