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:31:40 +0100 |
commit | 3476a49b10093c58b2f89e3d9a8527224f1bd7f6 (patch) | |
tree | 369d23a1d434e43284ea2bdffa318f5408b13014 /meta/recipes-support/libassuan/libassuan_2.1.1.bb | |
parent | 3a88df915831f2fd5e46ed71b21190398d1de0f1 (diff) | |
download | poky-3476a49b10093c58b2f89e3d9a8527224f1bd7f6.tar.gz |
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.
(From OE-Core rev: 5870bd272b0b077d0826fb900b251884c1c05061)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libassuan/libassuan_2.1.1.bb')
-rw-r--r-- | meta/recipes-support/libassuan/libassuan_2.1.1.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libassuan/libassuan_2.1.1.bb b/meta/recipes-support/libassuan/libassuan_2.1.1.bb index 6f7d6745fd..d66023320d 100644 --- a/meta/recipes-support/libassuan/libassuan_2.1.1.bb +++ b/meta/recipes-support/libassuan/libassuan_2.1.1.bb | |||
@@ -16,7 +16,9 @@ SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2 \ | |||
16 | SRC_URI[md5sum] = "757243cc4a71b30ed8d8dbe784035d36" | 16 | SRC_URI[md5sum] = "757243cc4a71b30ed8d8dbe784035d36" |
17 | SRC_URI[sha256sum] = "23e2d67779b88e90d29fe1df6b157109f1c2a647d0f1b2a0f4295bb3c0b2039d" | 17 | SRC_URI[sha256sum] = "23e2d67779b88e90d29fe1df6b157109f1c2a647d0f1b2a0f4295bb3c0b2039d" |
18 | 18 | ||
19 | inherit autotools texinfo binconfig pkgconfig | 19 | BINCONFIG = "${bindir}/libassuan-config" |
20 | |||
21 | inherit autotools texinfo binconfig-disabled pkgconfig | ||
20 | 22 | ||
21 | do_configure_prepend () { | 23 | do_configure_prepend () { |
22 | # Else these could be used in prefernce to those in aclocal-copy | 24 | # Else these could be used in prefernce to those in aclocal-copy |