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

Cc: Jeroen Hofstee <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
---
 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

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to