diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-12-02 10:10:18 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-02 09:18:20 -0800 |
| commit | a2f2c06ec813bfc93718b1851a207343aaa7c663 (patch) | |
| tree | a4a7e34a34b9d3920a66004ab531ee06e7d7a090 | |
| parent | 183693a84d84ad7d4999ad592a863b1719dde1b7 (diff) | |
| download | meta-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.bb | 5 |
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" | |||
| 7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891" |
| 9 | 9 | ||
| 10 | inherit cmake siteinfo qemu multilib_header | 10 | inherit cmake pkgconfig siteinfo qemu multilib_header multilib_script |
| 11 | 11 | ||
| 12 | DEPENDS += "qemu-native zlib" | 12 | DEPENDS += "qemu-native zlib" |
| 13 | 13 | ||
| @@ -48,8 +48,11 @@ do_configure:append() { | |||
| 48 | do_install:append() { | 48 | do_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 | ||
| 54 | MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc" | ||
| 55 | |||
| 53 | BBCLASSEXTEND = "native" | 56 | BBCLASSEXTEND = "native" |
| 54 | 57 | ||
| 55 | # h5fuse.sh script needs bash | 58 | # h5fuse.sh script needs bash |
