diff --git a/Makefile b/Makefile index 020ebd5..70971b1 100644 --- a/Makefile +++ b/Makefile @@ -1465,14 +1465,14 @@ checkarmreloc: u-boot false; \ fi -environ: scripts_basic +envtools: scripts_basic $(Q)$(MAKE) $(build)=tools/env tools-only: scripts_basic $(version_h) $(timestamp_h) $(Q)$(MAKE) $(build)=tools tools-all: export HOST_TOOLS_ALL=y -tools-all: environ tools ; +tools-all: envtools tools ; cross_tools: export CROSS_BUILD_TOOLS=y cross_tools: tools ; diff --git a/tools/env/README b/tools/env/README index 24e31bc..bc6e2c1 100644 --- a/tools/env/README +++ b/tools/env/README @@ -3,9 +3,9 @@ This is a demo implementation of a Linux command line tool to access the U-Boot's environment variables. In order to cross-compile fw_printenv, run - make CROSS_COMPILE= env + make CROSS_COMPILE= envtools in the root directory of the U-Boot distribution. For example, - make CROSS_COMPILE=arm-linux- env + make CROSS_COMPILE=arm-linux- envtools For the run-time utility configuration uncomment the line #define CONFIG_FILE "/etc/fw_env.config"