summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/unixodbc
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2025-04-10 06:41:44 -0700
committerKhem Raj <raj.khem@gmail.com>2025-05-03 01:59:06 -0700
commit24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a (patch)
tree67235f5bdec7d1dc18519d40044931e3aa16bbe8 /meta-oe/recipes-support/unixodbc
parent46866b0022690f7408d0c5d7d3a22ba03e3af1a7 (diff)
downloadmeta-openembedded-24ff52ba3b73757cc0255a5b19822e2e4d3d4e0a.tar.gz
recipes: adapt to qemu.bbclass refactoring
Avoid inheriting qemu.bbclass and use oe.qemu.xxx instead. Also, the 'qemu-native' dep is replaced by 'qemuwrapper-cross' for PACKAGE_WRITE_DEPS. qemuwrapper-cross is the one that is actually used by postints and it has 'qemu-native' in DEPENDS. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/unixodbc')
-rw-r--r--meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb
index 0927f5c904..ce02535c95 100644
--- a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb
+++ b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb
@@ -18,14 +18,14 @@ SRC_URI[sha256sum] = "f210501445ce21bf607ba51ef8c125e10e22dffdffec377646462df5f0
18UPSTREAM_CHECK_URI = "https://www.unixodbc.org/download.html" 18UPSTREAM_CHECK_URI = "https://www.unixodbc.org/download.html"
19UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar" 19UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
20 20
21inherit autotools-brokensep multilib_header qemu 21inherit autotools-brokensep multilib_header
22 22
23S = "${WORKDIR}/unixODBC-${PV}" 23S = "${WORKDIR}/unixODBC-${PV}"
24 24
25EXTRA_OEMAKE += "LIBS=-lltdl" 25EXTRA_OEMAKE += "LIBS=-lltdl"
26EXTRA_OECONF += "--enable-utf8ini" 26EXTRA_OECONF += "--enable-utf8ini"
27DEPENDS:append:class-target = "${@' qemu-native' if bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d) else ''}" 27DEPENDS:append:class-target = "${@' qemu-native' if bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d) else ''}"
28QEMU_WRAPPER = "${@qemu_wrapper_cmdline(d, '${STAGING_DIR_HOST}', ['${STAGING_DIR_HOST}/${libdir}','${STAGING_DIR_HOST}/${base_libdir}'])}" 28QEMU_WRAPPER = "${@oe.qemu.qemu_wrapper_cmdline(d, '${STAGING_DIR_HOST}', ['${STAGING_DIR_HOST}/${libdir}','${STAGING_DIR_HOST}/${base_libdir}'])}"
29 29
30do_configure:prepend() { 30do_configure:prepend() {
31 # old m4 files will cause libtool version don't match 31 # old m4 files will cause libtool version don't match