summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-08-22 20:54:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-23 17:23:40 +0100
commit4f843635c1d4890c33e28a42ff54a07cc442485d (patch)
tree03019251c309c7b594c046af40f614dac06f8e72 /meta
parent8a2664b1c2f7ad6d34714d87ff78c02b4af99562 (diff)
downloadpoky-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.bb5
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
6DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" 6DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native"
7 7
8PR = "r1"
9
8inherit meta 10inherit meta
9 11
10SDK_DIR = "${WORKDIR}/sdk" 12SDK_DIR = "${WORKDIR}/sdk"
@@ -91,3 +93,6 @@ do_populate_sdk[nostamp] = "1"
91do_populate_sdk[recrdeptask] = "do_package_write" 93do_populate_sdk[recrdeptask] = "do_package_write"
92addtask populate_sdk before do_build after do_install 94addtask populate_sdk before do_build after do_install
93 95
96inherit blacklist
97
98PNBLACKLIST[external-python-tarball] = "${@base_contains('PACKAGE_CLASSES', 'package_ipk', '', 'This recipe requires \'package_ipk\' support to be enabled in PACKAGE_CLASSES.', d)}"