diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-08-22 20:54:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-23 17:23:40 +0100 |
commit | 4f843635c1d4890c33e28a42ff54a07cc442485d (patch) | |
tree | 03019251c309c7b594c046af40f614dac06f8e72 /meta | |
parent | 8a2664b1c2f7ad6d34714d87ff78c02b4af99562 (diff) | |
download | poky-4f843635c1d4890c33e28a42ff54a07cc442485d.tar.gz |
external-python-tarball: Blacklist recipe if ipk is not in the PACKAGE_CLASSES list
This is needed because ipk tools and variables (specically
IPKGCONF_TARGET and IPKGCONF_SDK) are used from the rootfs_ipk.bbclass
I tried to inherit directly but it still fails to expand those.
[YOCTO #2814]
(From OE-Core rev: 161043782682cccd2efc2b349e8248ae084857c7)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/meta/external-python-tarball.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/external-python-tarball.bb b/meta/recipes-core/meta/external-python-tarball.bb index 6bc837b8ce..e317ba32ca 100644 --- a/meta/recipes-core/meta/external-python-tarball.bb +++ b/meta/recipes-core/meta/external-python-tarball.bb | |||
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 | |||
5 | 5 | ||
6 | DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" | 6 | DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" |
7 | 7 | ||
8 | PR = "r1" | ||
9 | |||
8 | inherit meta | 10 | inherit meta |
9 | 11 | ||
10 | SDK_DIR = "${WORKDIR}/sdk" | 12 | SDK_DIR = "${WORKDIR}/sdk" |
@@ -91,3 +93,6 @@ do_populate_sdk[nostamp] = "1" | |||
91 | do_populate_sdk[recrdeptask] = "do_package_write" | 93 | do_populate_sdk[recrdeptask] = "do_package_write" |
92 | addtask populate_sdk before do_build after do_install | 94 | addtask populate_sdk before do_build after do_install |
93 | 95 | ||
96 | inherit blacklist | ||
97 | |||
98 | PNBLACKLIST[external-python-tarball] = "${@base_contains('PACKAGE_CLASSES', 'package_ipk', '', 'This recipe requires \'package_ipk\' support to be enabled in PACKAGE_CLASSES.', d)}" | ||