diff mbox

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

Message ID 1458175220-11549-1-git-send-email-trini@konsulko.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini March 17, 2016, 12:40 a.m. UTC
It is possible to compile and run the sandbox target with clang
currently, so document that as well.

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

Comments

Tom Rini March 27, 2016, 10:25 p.m. UTC | #1
On Wed, Mar 16, 2016 at 08:40:20PM -0400, Tom Rini wrote:

> It is possible to compile and run the sandbox target with clang
> currently, so document that as well.
> 
> Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

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