@@ -18,11 +18,11 @@ helperinclude_HEADERS = \
$(srcdir)/include/odp/helper/ipsec.h\
$(srcdir)/include/odp/helper/tcp.h\
$(srcdir)/include/odp/helper/table.h\
- $(srcdir)/include/odp/helper/udp.h
+ $(srcdir)/include/odp/helper/udp.h \
+ $(srcdir)/include/odp/helper/pause.h
noinst_HEADERS = \
$(srcdir)/odph_debug.h \
- $(srcdir)/odph_pause.h \
$(srcdir)/odph_hashtable.h \
$(srcdir)/odph_lineartable.h \
$(srcdir)/odph_list_internal.h
similarity index 100%
rename from helper/odph_pause.h
rename to helper/include/odp/helper/pause.h
@@ -71,13 +71,13 @@
#include <odp/shared_memory.h>
#include <odp/spinlock.h>
-#include "odph_pause.h"
#include <odp/align.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include "odph_debug.h"
#include <odp/rwlock.h>
+#include <odp/helper/pause.h>
#include <odp/helper/ring.h>
static TAILQ_HEAD(, odph_ring) odp_ring_list;
@@ -5,7 +5,7 @@
*/
#include <test_debug.h>
-#include "../odph_pause.h"
+#include <odp/helper/pause.h>
int main(int argc TEST_UNUSED, char *argv[] TEST_UNUSED)
{
@@ -6,6 +6,7 @@ include $(top_srcdir)/platform/Makefile.inc
AM_CFLAGS += -I$(srcdir)/include
AM_CFLAGS += -I$(top_srcdir)/include
AM_CFLAGS += -I$(top_srcdir)/helper/include
+AM_CFLAGS += -I$(top_srcdir)/helper
include_HEADERS = \
$(top_srcdir)/include/odp.h
ipc pktio depends on ring which depends on pause. Move pause to installed helpers to support out of tree builds. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- helper/Makefile.am | 4 ++-- helper/{odph_pause.h => include/odp/helper/pause.h} | 0 helper/ring.c | 2 +- helper/test/pause.c | 2 +- platform/linux-generic/Makefile.am | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) rename helper/{odph_pause.h => include/odp/helper/pause.h} (100%)