]> code.ossystems Code Review - openembedded-core.git/commit
binconfig-disabled: Add class and use
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 May 2014 09:59:33 +0000 (10:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jun 2014 14:30:49 +0000 (15:30 +0100)
commit5870bd272b0b077d0826fb900b251884c1c05061
treefad509af7e149992d176d9a14f7559d66f794838
parent12bab2d828836c8926f753caff80b61dbe6390a5
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>
21 files changed:
meta/classes/binconfig-disabled.bbclass [new file with mode: 0644]
meta/recipes-connectivity/libpcap/libpcap.inc
meta/recipes-core/libxml/libxml2.inc
meta/recipes-core/ncurses/ncurses.inc
meta/recipes-graphics/directfb/directfb.inc
meta/recipes-graphics/freetype/freetype_2.5.3.bb
meta/recipes-graphics/libsdl/libsdl_1.2.15.bb
meta/recipes-multimedia/libpng/libpng_1.6.10.bb
meta/recipes-support/gpgme/gpgme_1.4.3.bb
meta/recipes-support/icu/icu.inc
meta/recipes-support/libassuan/libassuan_2.1.1.bb
meta/recipes-support/libgcrypt/libgcrypt.inc
meta/recipes-support/libgpg-error/libgpg-error_1.12.bb
meta/recipes-support/libksba/libksba_1.3.0.bb
meta/recipes-support/libpcre/libpcre_8.35.bb
meta/recipes-support/libusb/libusb-compat_0.1.5.bb
meta/recipes-support/libxslt/libxslt_1.1.28.bb
meta/recipes-support/neon/neon_0.30.0.bb
meta/recipes-support/npth/npth_0.91.bb
meta/recipes-support/pth/pth_2.0.7.bb
meta/recipes-support/taglib/taglib_1.9.1.bb