[OE-core] [PATCH 1/1] cpan_build/bbclass: add perl to DEPENDS with target override
Hongxu Jia
hongxu.jia at windriver.com
Sat Nov 7 08:30:08 UTC 2015
While build for target at task cpan_build_do_configure,
it requires ${STAGING_LIBDIR}/perl/config.sh which is
provided by perl. So add perl to DEPENDS with target
override.
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/classes/cpan_build.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index fac074d..9bfe334 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -11,6 +11,7 @@ export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version
export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}/"
export LD = "${CCLD}"
+DEPENDS_append_class-target = " perl"
cpan_build_do_configure () {
if [ "${@is_target(d)}" = "yes" ]; then
# build for target
--
1.9.1
More information about the Openembedded-core
mailing list