[U-Boot] [PATCH] doc/README.clang: Document sandbox instructions

Tom Rini trini at konsulko.com
Thu Mar 17 01:40:20 CET 2016


It is possible to compile and run the sandbox target with clang
currently, so document that as well.

Cc: Jeroen Hofstee <jeroen at myspectrum.nl>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 doc/README.clang |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/README.clang b/doc/README.clang
index b4ba653..e0491b2 100644
--- a/doc/README.clang
+++ b/doc/README.clang
@@ -31,6 +31,10 @@ CROSS_COMPILE. To compile U-Boot with clang on linux without IAS use e.g.:
 make HOSTCC=clang rpi_2_defconfig
 make HOSTCC=clang CROSS_COMPILE=arm-linux-gnueabi- CC=clang -j8
 
+It can also be used to compile sandbox:
+make HOSTCC=clang sandbox_defconfig
+make HOSTCC=clang CC=clang -j8
+
 FreeBSD 11 (Current):
 --------------------
 Since llvm 3.4 is currently in the base system, the integrated as is
-- 
1.7.9.5



More information about the U-Boot mailing list