aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2014-05-28 13:32:07 +0400
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-10 12:27:20 +0200
commit20459d1760b6af2097a9d6cef1bf9338ba70c3c9 (patch)
treed32e2793c47401fc898e79198ad88019491d9898
parent4c88f838d569805a652922612500c47304c669ad (diff)
downloadmeta-openembedded-contrib-20459d1760b6af2097a9d6cef1bf9338ba70c3c9.tar.gz
meta-openembedded-contrib-20459d1760b6af2097a9d6cef1bf9338ba70c3c9.tar.bz2
meta-openembedded-contrib-20459d1760b6af2097a9d6cef1bf9338ba70c3c9.zip
daq: fix compilation
preset paths to remove that error: /meta-oe/recipes-connectivity/daq/daq_2.0.2.bb ./config.log:cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories] Also this patch add required libdnet dependency. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/daq/daq_2.0.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
index 4e85194362..efdcf99965 100644
--- a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
PARALLEL_MAKE = ""
-DEPENDS = "libpcap libpcre"
+DEPENDS = "libpcap libpcre libdnet"
SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
file://disable-run-test-program-while-cross-compiling.patch "
@@ -15,6 +15,9 @@ SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
# daq/daq/latest lost dependency on libdnet libmnl libnetfilter-queue libnfnetlink
EXTRA_OECONF += "--disable-nfq-module --disable-ipq-module"
+# never look to /usr/local lib while cross compiling
+EXTRA_OECONF += "--includedir=${includedir} --with-libpcap-includes=${STAGING_INCDIR} --with-dnet-includes=${STAGING_LIBDIR}"
+
SRC_URI[md5sum] = "865bf9b750a2a2ca632591a3c70b0ea0"
SRC_URI[sha256sum] = "d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8"