zephyr/arch/x86
Anas Nashif 0d0cb8e661 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: I1a50c3a82d79ff3001beb4366961ca810eeb6006
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2016-02-05 20:24:41 -05:00
..
configs remove nano/micro defconfigs, use 1 file only 2016-02-05 20:24:28 -05:00
core Rename Profiler to Event Logger. 2016-02-05 20:24:41 -05:00
include Rename Profiler to Event Logger. 2016-02-05 20:24:41 -05:00
platforms checkpatch: warning - new_typedefs 2016-02-05 20:24:41 -05:00
Kbuild galileo: add as a standalone platform 2016-02-05 20:24:18 -05:00
Kconfig x86: CLFLUSH and cache line size detection 2016-02-05 20:24:41 -05:00
Makefile kbuild: add clang support 2016-02-05 20:24:41 -05:00
defconfig remove nano/micro defconfigs, use 1 file only 2016-02-05 20:24:28 -05:00