diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-25 20:16:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-26 14:55:35 +0100 |
commit | 14b70cd222519e5bccaca955334787f123d9fc54 (patch) | |
tree | d4d969521ac696fa306294b6899588c7e6506946 /meta/classes/pythonnative.bbclass | |
parent | d3ae2fc896fd866aac9f064dccbff971c324f43c (diff) | |
download | openembedded-core-14b70cd222519e5bccaca955334787f123d9fc54.tar.gz openembedded-core-14b70cd222519e5bccaca955334787f123d9fc54.tar.bz2 openembedded-core-14b70cd222519e5bccaca955334787f123d9fc54.zip |
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?).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
-rw-r--r-- | meta/classes/pythonnative.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index bc346da58d..7886207d06 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass @@ -1,3 +1,3 @@ PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" -PATH_prepend = "${STAGING_BINDIR_NATIVE}/python-native:" +EXTRANATIVEPATH += "python-native" DEPENDS += " python-native " |