path: root/meta/recipes-core/ncurses
diff options
authorRichard Purdie <>2014-05-22 10:59:33 +0100
committerRichard Purdie <>2014-06-16 15:30:49 +0100
commit5870bd272b0b077d0826fb900b251884c1c05061 (patch)
treefad509af7e149992d176d9a14f7559d66f794838 /meta/recipes-core/ncurses
parent12bab2d828836c8926f753caff80b61dbe6390a5 (diff)
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 <>
Diffstat (limited to 'meta/recipes-core/ncurses')
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ b/meta/recipes-core/ncurses/
index f0a4044345..521d0e435c 100644
--- a/meta/recipes-core/ncurses/
+++ b/meta/recipes-core/ncurses/
@@ -8,7 +8,9 @@ DEPENDS = "ncurses-native"
DEPENDS_class-native = ""
INC_PR = "r15"
-inherit autotools binconfig multilib_header
+BINCONFIG = "${bindir}/ncurses-config"
+inherit autotools binconfig-disabled multilib_header
# Upstream has useful patches at times at
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz"