diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-02-01 16:16:24 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-01 08:59:27 -0800 |
| commit | b5184644d4e7887dca0ef4e331a77b613a41501f (patch) | |
| tree | 7339c8335aaa04c881d00d5c82e3acc956b82223 /meta-networking | |
| parent | 6a8d205e5c8e7c637eacbe91986c5f8c9145c6ff (diff) | |
| download | meta-openembedded-b5184644d4e7887dca0ef4e331a77b613a41501f.tar.gz | |
open62541: fix qa error with encryption-openssl PACKAGECONFIG
In case "encryption-openssl" PACKAGECONFIG is enabled, do_package_qa fails:
ERROR: open62541-1.3.8-r0 do_package_qa: QA Issue: File /usr/lib/cmake/open62541/open62541Targets.cmake in package open62541-dev contains reference to TMPDIR [buildpaths]
Fix it by changing the value of RECIPE_SYSROOT to CMAKE_SYSROOT variable,
so the qa check passes, and other CMake projects should be still able to find the
CMake package provided by this recipe.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-protocols/opcua/open62541_1.3.8.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.3.8.bb b/meta-networking/recipes-protocols/opcua/open62541_1.3.8.bb index 19a50aee3a..1be0fc4ec0 100644 --- a/meta-networking/recipes-protocols/opcua/open62541_1.3.8.bb +++ b/meta-networking/recipes-protocols/opcua/open62541_1.3.8.bb | |||
| @@ -51,3 +51,6 @@ do_configure:prepend:toolchain-clang:riscv32() { | |||
| 51 | sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt | 51 | sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | do_install:append(){ | ||
| 55 | sed -i 's|${RECIPE_SYSROOT}|\$\{CMAKE_SYSROOT\}|g' ${D}${libdir}/cmake/open62541/open62541Targets.cmake | ||
| 56 | } | ||
