diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-22 10:59:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-16 15:30:49 +0100 |
commit | 5870bd272b0b077d0826fb900b251884c1c05061 (patch) | |
tree | fad509af7e149992d176d9a14f7559d66f794838 /meta/recipes-support/npth | |
parent | 12bab2d828836c8926f753caff80b61dbe6390a5 (diff) | |
download | openembedded-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/npth')
-rw-r--r-- | meta/recipes-support/npth/npth_0.91.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/npth/npth_0.91.bb b/meta/recipes-support/npth/npth_0.91.bb index 56a9d9b69e..7105b94e3d 100644 --- a/meta/recipes-support/npth/npth_0.91.bb +++ b/meta/recipes-support/npth/npth_0.91.bb @@ -11,7 +11,9 @@ SRC_URI = "ftp://ftp.gnupg.org/gcrypt/npth/npth-${PV}.tar.bz2 \ SRC_URI[md5sum] = "87712f0cee656c390b49773923e26e7f" SRC_URI[sha256sum] = "caef86ced4a331e162897818a5b924860c8d6003e52da5bdf76da00e8e0dfae1" -inherit autotools binconfig +BINCONFIG = "${bindir}/npth-config" + +inherit autotools binconfig-disabled FILES_${PN} = "${libdir}/libnpth.so.*" FILES_${PN}-dev += "${bindir}/npth-config" |