zephyr/arch
Anas Nashif 1b702154b5 kbuild: add clang support
Clang support already existed in the Makefiles but was not complete
and some gcc options did not work with clang. Move those to be conditional
on the compiler used to make clang work.

To build with clang for x86:

make  CC=clang  -C samples/microkernel/apps/hello_world/

You still need the gcc cross environment for various tools.

For now, only x86 was tested.

Change-Id: Ic5aeab4f80d312e1d1312a4a9fc885a43f760270
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:24:47 -05:00
..
arc irq: Add flags to IRQ_CONNECT_STATIC() macro and irq_connect() function 2016-02-05 20:24:44 -05:00
arm irq: Add flags to IRQ_CONNECT_STATIC() macro and irq_connect() function 2016-02-05 20:24:44 -05:00
x86 kbuild: add clang support 2016-02-05 20:24:47 -05:00
Kconfig Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
Makefile