summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-12-02 10:10:18 +0800
committerKhem Raj <raj.khem@gmail.com>2025-12-02 09:18:20 -0800
commita2f2c06ec813bfc93718b1851a207343aaa7c663 (patch)
treea4a7e34a34b9d3920a66004ab531ee06e7d7a090
parent183693a84d84ad7d4999ad592a863b1719dde1b7 (diff)
downloadmeta-openembedded-a2f2c06ec813bfc93718b1851a207343aaa7c663.tar.gz
hdf5: inherit pkgconfig
inherit pkgconfig, and fix install conflict when enable multilib, this can also improve reproducibility Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb
index 798ca1b83f..93fe352b99 100644
--- a/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb
+++ b/meta-oe/recipes-support/hdf5/hdf5_2.0.0.bb
@@ -7,7 +7,7 @@ SECTION = "libs"
7LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891"
9 9
10inherit cmake siteinfo qemu multilib_header 10inherit cmake pkgconfig siteinfo qemu multilib_header multilib_script
11 11
12DEPENDS += "qemu-native zlib" 12DEPENDS += "qemu-native zlib"
13 13
@@ -48,8 +48,11 @@ do_configure:append() {
48do_install:append() { 48do_install:append() {
49 # Used for generating config files on target 49 # Used for generating config files on target
50 oe_multilib_header H5pubconf.h 50 oe_multilib_header H5pubconf.h
51 sed -i -e 's|${RECIPE_SYSROOT_NATIVE}||g' ${D}${bindir}/h5cc
51} 52}
52 53
54MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc"
55
53BBCLASSEXTEND = "native" 56BBCLASSEXTEND = "native"
54 57
55# h5fuse.sh script needs bash 58# h5fuse.sh script needs bash