summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libxslt
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-22 10:59:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-16 15:30:49 +0100
commit5870bd272b0b077d0826fb900b251884c1c05061 (patch)
treefad509af7e149992d176d9a14f7559d66f794838 /meta/recipes-support/libxslt
parent12bab2d828836c8926f753caff80b61dbe6390a5 (diff)
downloadopenembedded-core-5870bd272b0b077d0826fb900b251884c1c05061.tar.gz
openembedded-core-5870bd272b0b077d0826fb900b251884c1c05061.tar.bz2
openembedded-core-5870bd272b0b077d0826fb900b251884c1c05061.zip
binconfig-disabled: Add class and use
This adds a binconfig-disabled class which can be used by recipes where a -config file is installed but we wish to disable it and just rely on the .pc files instead. Rather than simply deleting it, we make the script "exit 1" so that it can be found in PATH and raise a build error rather than something silently falling back to the build system for example. Rather than randomly finding -config files, this adds in the specification of a list of binconfig scripts which is more deterministic and maintainable moving forward. This patch converts various users in OE-Core to use this, a world build of OE-Core tests out ok with this change. There will likely be issues in other layers however, hence this being a RFT. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libxslt')
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.28.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.28.bb b/meta/recipes-support/libxslt/libxslt_1.1.28.bb
index 5401f3ce89..0b2526dbee 100644
--- a/meta/recipes-support/libxslt/libxslt_1.1.28.bb
+++ b/meta/recipes-support/libxslt/libxslt_1.1.28.bb
@@ -16,7 +16,9 @@ SRC_URI[md5sum] = "9667bf6f9310b957254fdcf6596600b7"
SRC_URI[sha256sum] = "5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c"
S = "${WORKDIR}/libxslt-${PV}"
-inherit autotools pkgconfig binconfig lib_package
+BINCONFIG = "${bindir}/xslt-config"
+
+inherit autotools pkgconfig binconfig-disabled lib_package
# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
do_configure_prepend () {