summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-01-04 04:21:43 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-01-04 04:21:43 +0100
commit8c7ab6abb2baae052ac5477ae45a35460da6b2df (patch)
treed5d4564793027e0c69c289bffae406d32d9d5639 /meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb
parent1f6421b1895a0c97207f8d81b18dd2ebd0c28147 (diff)
Fix hvacplugin cross-compilation issue due to wrong path in CMakeLists.txt
This patch fixes a cross-compilation issue with hvacplugin. The absolute path set for Boost_INCLUDE_DIRS is not cross-compilation save. According to https://cmake.org/Wiki/CMake:How_To_Find_Libraries we better use find_package(Boost REQUIRED) . Otherwise bitbake might fail with: ERROR: QA Issue: hvacplugin: The compile log indicates that host include and/or library paths were used. Please check the log .../hvacplugin/0.1-r0/temp/log.do_compile' for more information. [compile-host-path] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Due to: cc1plus: warning: include location "/usr/include/boost" is unsafe for cross-compilation [-Wpoison-system-directories] Change-Id: I114962b60fdb0162f9e9a88964705cbbba901278 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb')
-rw-r--r--meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb b/meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb
index 9692e2d0f..1d73c72f2 100644
--- a/meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb
+++ b/meta-agl/recipes-automotive/hvacplugin/hvacplugin_0.1.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
SRC_URI = "git://github.com/iotbzh/hvacplugin \
file://hvacplugin \
+ file://0001-Fix-boost-include-statement.patch \
"
SRCREV = "253e3d98505108f652ba875544fde4f58d4714c8"
S = "${WORKDIR}/git"