mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-17 07:45:47 +01:00
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>
This commit is contained in:
parent
183693a84d
commit
a2f2c06ec8
|
|
@ -7,7 +7,7 @@ SECTION = "libs"
|
||||||
LICENSE = "BSD-3-Clause"
|
LICENSE = "BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=71a191398102f76050a4e56e78cb4891"
|
||||||
|
|
||||||
inherit cmake siteinfo qemu multilib_header
|
inherit cmake pkgconfig siteinfo qemu multilib_header multilib_script
|
||||||
|
|
||||||
DEPENDS += "qemu-native zlib"
|
DEPENDS += "qemu-native zlib"
|
||||||
|
|
||||||
|
|
@ -48,8 +48,11 @@ do_configure:append() {
|
||||||
do_install:append() {
|
do_install:append() {
|
||||||
# Used for generating config files on target
|
# Used for generating config files on target
|
||||||
oe_multilib_header H5pubconf.h
|
oe_multilib_header H5pubconf.h
|
||||||
|
sed -i -e 's|${RECIPE_SYSROOT_NATIVE}||g' ${D}${bindir}/h5cc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
# h5fuse.sh script needs bash
|
# h5fuse.sh script needs bash
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user