Go to file
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
arch kbuild: add clang support 2016-02-05 20:24:47 -05:00
doc doc: Add flags to irq_connect(), IRQ_CONNECT_STATIC() and task_irq_alloc() 2016-02-05 20:24:44 -05:00
drivers k20uart: Fix check for Rx/Tx irq 2016-02-05 20:24:47 -05:00
include Bluetooth: Read supported commands on init 2016-02-05 20:24:47 -05:00
kernel irq: Add flags to IRQ_CONNECT_STATIC() macro and irq_connect() function 2016-02-05 20:24:44 -05:00
lib stdio: Fix bug in fputs() 2016-02-05 20:24:44 -05:00
misc reboot: add reboot infrastructure 2016-02-05 20:24:43 -05:00
net Bluetooth: core: remove unrelated/inaccurate code comment 2016-02-05 20:24:47 -05:00
samples net: apps: Fix incorrect ip buf app data length 2016-02-05 20:24:47 -05:00
scripts sanity: add extra arguments when creating defconfigs 2016-02-05 20:24:43 -05:00
.checkpatch.conf
.gitattributes
.gitignore doc: Prevent accidental commit of Kconfig index file 2016-02-05 20:24:42 -05:00
.mailmap
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
Makefile kbuild: add clang support 2016-02-05 20:24:47 -05:00
Makefile.inc x86: CLFLUSH and cache line size detection 2016-02-05 20:24:41 -05:00
zephyr-env.sh