summaryrefslogtreecommitdiffstats
path: root/meta/classes/perlnative.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-25 20:16:46 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-26 13:56:20 (GMT)
commit5157c85776bb8bd7315ef42e6e622aae27ebc79e (patch)
treec249765b2d9f43cee998b032bf3f9cb76999af5d /meta/classes/perlnative.bbclass
parentf3d5e08e654cc116947560ad981f2521be0d9eb5 (diff)
downloadpoky-5157c85776bb8bd7315ef42e6e622aae27ebc79e.tar.gz
base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues
If something is listed in ASSUME_PROVIDED but also manually built (like bzip2-native and bzip2-replacement-native), we need to ensure that the installed binaries are only accessed for things which list the provider in DEPENDS. This patch adds a generic mechanism to handle this instead of everything reinventing the wheel. EXTRANATIVEPATH += "perl-native" will ensure that ${STAGING_BINDIR_NATIVE}/perl-native is added to PATH. This means that: a) Such providers should install to ${bindir}/xxx-native b) Should PROVIDE += "xxxx-replacement-native" c) That users should DEPEND on xxx-replacement-native and have EXTRANATIVEPATH += "xxx-native" This patch enables this at the core level, the bzip2 recipe still needs adjusting to work like this along with adjustment of the users of bzip2-replacement-native (python-native?). (From OE-Core rev: 14b70cd222519e5bccaca955334787f123d9fc54) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/perlnative.bbclass')
-rw-r--r--meta/classes/perlnative.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/perlnative.bbclass b/meta/classes/perlnative.bbclass
index 2211b72..cc8de8b 100644
--- a/meta/classes/perlnative.bbclass
+++ b/meta/classes/perlnative.bbclass
@@ -1,3 +1,3 @@
1PATH_prepend = "${STAGING_BINDIR_NATIVE}/perl-native:" 1EXTRANATIVEPATH += "perl-native"
2DEPENDS += "perl-native" 2DEPENDS += "perl-native"
3OECMAKE_PERLNATIVE_DIR = "${STAGING_BINDIR_NATIVE}/perl-native" 3OECMAKE_PERLNATIVE_DIR = "${STAGING_BINDIR_NATIVE}/perl-native"