@@ -18,6 +18,7 @@
extern C {
#endif
+#include <odp/drv/compiler.h>
#include <odp/drv/std_types.h>
#ifdef __cplusplus
@@ -88,6 +88,10 @@ odpapiplatinclude_HEADERS = \
$(srcdir)/include/odp/api/plat/traffic_mngr_types.h \
$(srcdir)/include/odp/api/plat/version_types.h
+odpdrvincludedir= $(includedir)/odp/drv
+odpdrvinclude_HEADERS = \
+ $(srcdir)/include/odp/drv/compiler.h
+
noinst_HEADERS = \
${srcdir}/include/odp_align_internal.h \
${srcdir}/include/odp_atomic_internal.h \
new file mode 100644
@@ -0,0 +1,34 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * Compiler related
+ */
+
+#ifndef ODPDRV_PLAT_COMPILER_H_
+#define ODPDRV_PLAT_COMPILER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** @addtogroup odpdrv_compiler_optim ODPDRV COMPILER / OPTIMIZATION
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+#include <odp/drv/spec/compiler.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- include/odp_drv.h | 1 + platform/linux-generic/Makefile.am | 4 +++ platform/linux-generic/include/odp/drv/compiler.h | 34 +++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 platform/linux-generic/include/odp/drv/compiler.h