Go to file
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
arch kbuild: add clang support 2016-02-05 20:24:41 -05:00
doc Add group definition to event logger. 2016-02-05 20:24:41 -05:00
drivers gpio: use BIT macro defined in misc/util.h 2016-02-05 20:24:41 -05:00
include asm: add asm inline for system set/clear/test bit 2016-02-05 20:24:41 -05:00
kernel Rename Profiler to Event Logger. 2016-02-05 20:24:41 -05:00
lib checkpatch: warning - block_comment_style 2016-02-05 20:24:35 -05:00
misc printk: Standardize support for %% 2016-02-05 20:24:36 -05:00
net Bluetooth: L2CAP: Unref buffer after calling recv callback 2016-02-05 20:24:41 -05:00
samples Rename Profiler to Event Logger. 2016-02-05 20:24:41 -05:00
scripts kbuild: remove unused and unsupported GCOV_KERNEL 2016-02-05 20:24:41 -05:00
.checkpatch.conf checkpatch: ignore NETWORKING_BLOCK_COMMENT_STYLE 2016-02-05 20:24:36 -05:00
.gitattributes
.gitignore
.mailmap Update .mailmap 2016-02-05 20:24:37 -05:00
Kbuild
Kconfig Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
Kconfig.zephyr Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
Makefile kbuild: add clang support 2016-02-05 20:24:41 -05:00
Makefile.inc x86: CLFLUSH and cache line size detection 2016-02-05 20:24:41 -05:00
zephyr-env.sh Make zephyr-env.sh work when cd is aliased 2016-02-05 20:24:36 -05:00