From 84a42069f253554dbc2c7b4bbd28149a7a88c0ab Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 5 Sep 2017 01:53:59 -0600 Subject: [PATCH] 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 --- Makefile | 1 + tools/env/README | 3 +++ 2 files changed, 4 insertions(+) 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. -- 2.30.2