aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-03-06 02:14:25 -0500
committerKhem Raj <raj.khem@gmail.com>2019-03-07 09:33:45 -0800
commit22d16b120b760f8f2cfca0016146c1284af54d14 (patch)
treefd4c3275e96b8f7d4d73ee9a1eff81ddbdca4262 /meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
parent5173929d7f974943110fc28814c49931e14a81c5 (diff)
downloadmeta-openembedded-22d16b120b760f8f2cfca0016146c1284af54d14.tar.gz
hdf5: support 32-bit target
Add pre-generated 32-bit H5Tinit.c to support 32-bit target Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb')
-rw-r--r--meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb b/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
index 7ea6f6477f..ccef36c86a 100644
--- a/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
+++ b/meta-oe/recipes-support/hdf5/hdf5_1.8.19.bb
@@ -6,12 +6,13 @@ SECTION = "libs"
LICENSE = "HDF5"
LIC_FILES_CHKSUM = "file://COPYING;md5=57e5351b17591e659eedae107265c606"
-inherit cmake
+inherit cmake siteinfo
SRC_URI = " \
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-${PV}/src/${BPN}-${PV}.tar.bz2 \
file://H5lib_settings.c \
- file://H5Tinit.c \
+ file://H5Tinit-64.c \
+ file://H5Tinit-32.c \
file://0001-cross-compiling-support.patch \
file://0002-Remove-suffix-shared-from-shared-library-name.patch \
"
@@ -42,7 +43,7 @@ EXTRA_OECMAKE = " \
do_unpack[postfuncs] += "gen_hd5file"
gen_hd5file() {
install -m 544 ${WORKDIR}/H5lib_settings.c ${S}
- install -m 544 ${WORKDIR}/H5Tinit.c ${S}
+ install -m 544 ${WORKDIR}/H5Tinit-${SITEINFO_BITS}.c ${S}/H5Tinit.c
}
do_install_append() {