From 7ad260a999d77cec94103b97cb5f51ccc0a0abe5 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 16 Mar 2016 20:40:20 -0400 Subject: [PATCH] doc/README.clang: Document sandbox instructions It is possible to compile and run the sandbox target with clang currently, so document that as well. Cc: Jeroen Hofstee Signed-off-by: Tom Rini --- doc/README.clang | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/README.clang b/doc/README.clang index 7ce5ae4867..d41f85b3ed 100644 --- a/doc/README.clang +++ b/doc/README.clang @@ -31,6 +31,10 @@ export TRIPLET=arm-linux-gnueabi && export CROSS_COMPILE="$TRIPLET-" make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" rpi_defconfig make HOSTCC=clang CC="clang -target $TRIPLET -mllvm -arm-use-movt=0 -no-integrated-as" all V=1 -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 -- 2.25.1