[oe-commits] Richard Purdie : binconfig-disabled: Add class and use

git at git.openembedded.org git at git.openembedded.org
Tue Jun 3 15:54:48 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: a5b728df66af7d3cd356dbef760e257afd6b2f35
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a5b728df66af7d3cd356dbef760e257afd6b2f35

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu May 22 10:59:33 2014 +0100

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 at linuxfoundation.org>

---

 meta/classes/binconfig-disabled.bbclass                | 12 ++++++++++++
 meta/recipes-connectivity/libpcap/libpcap.inc          |  4 +++-
 meta/recipes-core/libxml/libxml2.inc                   |  4 +++-
 meta/recipes-core/ncurses/ncurses.inc                  |  4 +++-
 meta/recipes-graphics/directfb/directfb.inc            |  4 +++-
 meta/recipes-graphics/freetype/freetype_2.5.3.bb       |  4 +++-
 meta/recipes-graphics/libsdl/libsdl_1.2.15.bb          |  4 +++-
 meta/recipes-multimedia/libpng/libpng_1.6.10.bb        |  4 +++-
 meta/recipes-support/gpgme/gpgme_1.4.3.bb              |  4 +++-
 meta/recipes-support/icu/icu.inc                       |  4 +++-
 meta/recipes-support/libassuan/libassuan_2.1.1.bb      |  4 +++-
 meta/recipes-support/libgcrypt/libgcrypt.inc           |  4 +++-
 meta/recipes-support/libgpg-error/libgpg-error_1.12.bb |  4 +++-
 meta/recipes-support/libksba/libksba_1.3.0.bb          |  4 +++-
 meta/recipes-support/libpcre/libpcre_8.35.bb           |  4 +++-
 meta/recipes-support/libusb/libusb-compat_0.1.5.bb     |  4 +++-
 meta/recipes-support/libxslt/libxslt_1.1.28.bb         |  4 +++-
 meta/recipes-support/neon/neon_0.30.0.bb               |  4 +++-
 meta/recipes-support/npth/npth_0.91.bb                 |  4 +++-
 meta/recipes-support/pth/pth_2.0.7.bb                  |  4 +++-
 meta/recipes-support/taglib/taglib_1.9.1.bb            |  4 +++-
 21 files changed, 72 insertions(+), 20 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=a5b728df66af7d3cd356dbef760e257afd6b2f35


More information about the Openembedded-commits mailing list