aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@schaman.hu>2015-02-26 18:25:31 +0000
committerVenkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org>2015-02-27 14:48:18 +0530
commit79b6b651ed69e802ea7daf51708ec9b8b2899e61 (patch)
treea3525e560fb54004116284a0ea187edcfaf473ec
parent0116343f423f0fd5e83b1b14de7514d7faf124f1 (diff)
Makefile: Prevent the linux-generic odp_buffer_inlines.h to be included
linux-generic/odp_timer.c includes it but we don't actually need it and it only causes trouble Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
-rw-r--r--platform/linux-dpdk/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linux-dpdk/Makefile.am b/platform/linux-dpdk/Makefile.am
index cd6a96455..2a0887b89 100644
--- a/platform/linux-dpdk/Makefile.am
+++ b/platform/linux-dpdk/Makefile.am
@@ -12,6 +12,8 @@ AM_LDFLAGS += -L$(SDK_INSTALL_PATH)/lib
endif
AM_CFLAGS += $(PLAT_CFLAGS)
+#prevent the linux-generic internal header to be included
+AM_CFLAGS += -D ODP_BUFFER_INLINES_H_
AM_CFLAGS += -I$(srcdir)/include
AM_CFLAGS += -I$(srcdir)/include/api
AM_CFLAGS += -I$(top_srcdir)/platform/linux-generic/include