summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-08-23 16:37:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-25 11:08:06 +0100
commit544c3255b1b1d2be7d7c77f0d64cc4a11a947887 (patch)
tree4ef6b9c3f5fa1aa065cff55065dead3fb081d8fc /meta/recipes-core/libxml
parent823ca8a067011519b047e8f41c5642c2791e44a1 (diff)
downloadpoky-544c3255b1b1d2be7d7c77f0d64cc4a11a947887.tar.gz
libxml2: wrap xmllint to use the correct XML catalogues
Install a wrapper around xmllint in native builds to set XML_CATALOG_FILES to the correct location of the XML catalogues, so that the callers of this script (like xmlto) don't need to do the same. (From OE-Core rev: 8159b47e7ddddaca57ade2ecf24d8ff9a0abf26a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxml')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.14.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.14.bb b/meta/recipes-core/libxml/libxml2_2.9.14.bb
index e58298d3b0..d803db8672 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.14.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.14.bb
@@ -109,6 +109,8 @@ do_install_ptest () {
109do_install:append:class-native () { 109do_install:append:class-native () {
110 # Docs are not needed in the native case 110 # Docs are not needed in the native case
111 rm ${D}${datadir}/gtk-doc -rf 111 rm ${D}${datadir}/gtk-doc -rf
112
113 create_wrapper ${D}${bindir}/xmllint XML_CATALOG_FILES=${sysconfdir}/xml/catalog
112} 114}
113 115
114BBCLASSEXTEND = "native nativesdk" 116BBCLASSEXTEND = "native nativesdk"