diff options
author | Jun Nie <jun.nie@linaro.org> | 2023-06-13 10:43:26 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2023-06-13 10:43:26 +0800 |
commit | f310d4b54876ab4e869a6b2142e2379575d06eda (patch) | |
tree | 8f41de2f2792190e6a7687fb2f74792d9ca124c4 | |
parent | 55bc8a1ad0e533e14a04e4ca2ce1ab44edbc627f (diff) |
meta-openembedded: libcbor: Add cmake flagsbranch-2.14.0-dev-gbs-fwupd
to fix bug in poky build, which is not found in openbmc build.
ERROR: libcbor-gitAUTOINC+efa6c0886b-r0 do_package: dwarfsrcfiles
failed with exit code 1 (cmd was ['dwarfsrcfiles',
'/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libcbor/gitAUTOINC+efa6c0886b-r0
/package/usr/lib/libcbor.a']):
dwarfsrcfiles:
/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/libcbor/gitAUTOINC+efa6c0886b-r0/package/usr/lib/libcbor.a:
not a valid ELF file
Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rwxr-xr-x | meta-openembedded/meta-oe/recipes-bsp/libcbor/libcbor_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-bsp/libcbor/libcbor_git.bb b/meta-openembedded/meta-oe/recipes-bsp/libcbor/libcbor_git.bb index 53ba23053..faa169ff1 100755 --- a/meta-openembedded/meta-oe/recipes-bsp/libcbor/libcbor_git.bb +++ b/meta-openembedded/meta-oe/recipes-bsp/libcbor/libcbor_git.bb @@ -11,3 +11,5 @@ S = "${WORKDIR}/git" PV = "git${SRCPV}" inherit cmake + +EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release" |