From 573329571435eae967182baf94b2146188fb1ee5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 5 Sep 2017 01:53:58 -0600 Subject: env: Fix operation of 'make environ' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was broken by the recent environment refactoring. Specifically: $ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2 Fix this by updating the Makefile and adjusting the #include filesnames in two C files. Fixes: ec74f5f (Makefile: Rename 'env' target to 'environ') Reported-by: Måns Rullgård Signed-off-by: Simon Glass --- tools/env/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/env') 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" -- cgit v1.1