]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
tools/env: document current cross-compilation issues and workaround
authorLuca Ceresoli <luca.ceresoli@comelit.it>
Thu, 7 Apr 2011 22:11:20 +0000 (22:11 +0000)
committerWolfgang Denk <wd@denx.de>
Fri, 29 Apr 2011 23:10:28 +0000 (01:10 +0200)
Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it>
tools/env/README

index 91e679a3247b974b9ad8459ae50b62fcdd80fcd3..d5f228f27d8a3d6df9470c77f3b09a0d6091cd96 100644 (file)
@@ -2,6 +2,12 @@
 This is a demo implementation of a Linux command line tool to access
 the U-Boot's environment variables.
 
+In the current version, there is an issue in cross-compilation.
+In order to cross-compile fw_printenv, run
+    make HOSTCC=<your CC cross-compiler> env
+in the root directory of the U-Boot distribution. For example,
+    make HOSTCC=arm-linux-gcc env
+
 For the run-time utiltity configuration uncomment the line
 #define CONFIG_FILE  "/etc/fw_env.config"
 in fw_env.h.