public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH tegra-uboot-flasher] README: describe the CROSS_COMPILER variable
@ 2013-06-12 22:11 Stephen Warren
       [not found] ` <1371075110-13843-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2013-06-12 22:11 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

The build script uses a cross-compiler. The variable CROSS_COMPILE can
be set to select one, or a default value will be assumed.

Reported-by: Victor Weinstein <vweinstein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 README-developer.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README-developer.txt b/README-developer.txt
index 2525b40..89fcd2c 100644
--- a/README-developer.txt
+++ b/README-developer.txt
@@ -72,6 +72,15 @@ Creating Flash Images
 This step creates the target binaries and supporting data files necessary to
 run the tegra-uboot-flasher script. You will always need to perform this step.
 
+You will need an ARM cross-compiler in order to compile U-Boot. This may be
+obtained from a distribution package, or be a custom-built toolchain. The
+environment variable CROSS_COMPILE should be set to select the compiler to
+use. CROSS_COMPILE should contain the common prefix of all the binaries in
+the cross-compiler, for example if gcc is arm-linux-gnueabi-gcc, then
+CROSS_COMPILE should be set to arm-linux-gnueabi-, or
+/path/to/arm-linux-gnueabi-. If this variable is not set, then the build
+script assumes a value of arm-linux-gnueabi-.
+
 cd to the scripts sub-directory (i.e. the directory containing this README),
 and execute:
 
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-13 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-12 22:11 [PATCH tegra-uboot-flasher] README: describe the CROSS_COMPILER variable Stephen Warren
     [not found] ` <1371075110-13843-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-06-13 22:14   ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox