new file mode 100644
@@ -0,0 +1,23 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * WARNING: THIS FILE IS DEPRECATED AND WILL BE REMOVED!!!
+ * ODP APPLICATIONS SHOULD NOW INCLUDE odp_api.h INSTEAD.
+ *
+ * This file is here to ease the transition period but will be removed.
+ * This change has been made to enable the creation of other ODP interfaces.
+ *
+ */
+
+#ifndef ODP_H_
+#define ODP_H_
+
+#include <odp_api.h>
+
+#endif
@@ -9,6 +9,7 @@ AM_CFLAGS += -I$(top_srcdir)/include
AM_CFLAGS += -I$(top_srcdir)/helper/include
include_HEADERS = \
+ $(top_srcdir)/include/odp.h \
$(top_srcdir)/include/odp_api.h
odpapiincludedir= $(includedir)/odp/api
The former odp.h (now called odp_api.h) is recreated here and just includes odp_api.h. This is to ease the transition period for ODP applications, but this file (odp.h) is meant to be removed in the future. ODP applications should include odp_api.h, but those including odp.h will keep working during this transition period. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- include/odp.h | 23 +++++++++++++++++++++++ platform/linux-generic/Makefile.am | 1 + 2 files changed, 24 insertions(+) create mode 100644 include/odp.h