aboutsummaryrefslogtreecommitdiff
path: root/include/odp/autoheader_internal.h.in
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-10-02 15:48:59 +0300
committerMatias Elo <matias.elo@nokia.com>2019-10-07 09:49:07 +0300
commit18abf931651e3f21bc858efc2f1df50f24821611 (patch)
tree5689fa043b8b899a44d444bfb31b5948acc85bb6 /include/odp/autoheader_internal.h.in
parent60a830b9e000053caab24a0befb578551ba1766b (diff)
linux-gen: include only ODP defines in autogenerated header files
The config.h file has been split into three parts: autoheader_build.h: should NOT be included by ANY source file autoheader_external.h: can be included by any source file, including public headers autoheader_internal.h: can be included by any internal source file, but NOT by public headers autoheader_external.h and autoheader_internal.h are generated based on matching template files (*.in) and include only ODP defines. autoheader_build.h includes all build defines and should not be included by any source file. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include/odp/autoheader_internal.h.in')
-rw-r--r--include/odp/autoheader_internal.h.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/odp/autoheader_internal.h.in b/include/odp/autoheader_internal.h.in
new file mode 100644
index 000000000..4d1d17f4f
--- /dev/null
+++ b/include/odp/autoheader_internal.h.in
@@ -0,0 +1,29 @@
+
+#ifndef ODP_AUTOHEADER_INTERNAL_H_
+#define ODP_AUTOHEADER_INTERNAL_H_
+
+/* Define to the name of the implementation */
+#undef ODP_IMPLEMENTATION_NAME
+
+/* Define to name default scheduler */
+#undef ODP_SCHEDULE_DEFAULT
+
+/* Define to 1 if numa library is usable */
+#undef _ODP_HAVE_NUMA_LIBRARY
+
+/* Define to 1 to enable DPDK zero copy support */
+#undef ODP_DPDK_ZERO_COPY
+
+/* Define to 1 to enable netmap IO support */
+#undef ODP_NETMAP
+
+/* Define to 1 to enable DPDK packet I/O support */
+#undef ODP_PKTIO_DPDK
+
+/* Define to 1 to enable pcap packet I/O support */
+#undef _ODP_PKTIO_PCAP
+
+/* Define to 1 to enable pcapng support */
+#undef _ODP_PCAPNG
+
+#endif