diff options
author | Flavio Santes <flavio.santes@intel.com> | 2016-11-21 16:51:08 -0600 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-11-22 17:10:49 +0000 |
commit | be1dd33053f7fa731b4950d0113d9eb8a72926ac (patch) | |
tree | 054a9c74a399b93f09e2e97bc374b327d48a40e3 /Makefile | |
parent | 22f438b5ef1da2c86b6f9629d220ff49880d7390 (diff) |
build: Add __ZEPHYR__ to Makefile
This commit adds the __ZEPHYR__ define to the main Makefile.
This new define may help to drive conditional compilation when
writing multi-platform applications.
Change-Id: I81a37f9c86fa7f85bbac7cd0c0cd4150cbff1911
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -377,7 +377,7 @@ ZEPHYRINCLUDE = \ $(USERINCLUDE) \ $(STDINCLUDE) -KBUILD_CPPFLAGS := -DKERNEL +KBUILD_CPPFLAGS := -DKERNEL -D__ZEPHYR__=1 KBUILD_CFLAGS := -c -g -std=c99 \ -fno-asynchronous-unwind-tables \ |