From aa8f6b64055c6576bcdb63d3bbf9ab47b87c0d59 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Wed, 3 Aug 2011 23:19:34 +0800 Subject: libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe It's not appropriate to require xxx.bb in xxx-native.bb, causing that xxx-native depends on target recipe. Use BBCLASSEXTEND to solve this issue. Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb | 7 ------- meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb b/meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb deleted file mode 100644 index 3877d0bde..000000000 --- a/meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb +++ /dev/null @@ -1,7 +0,0 @@ -SECTION = "libs" - -inherit native - -require libxml-simple-perl_${PV}.bb - -DEPENDS += "libxml-parser-perl-native" diff --git a/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb b/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb index 3a50d7f1d..f2abf9dff 100644 --- a/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb +++ b/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb @@ -14,3 +14,5 @@ S = "${WORKDIR}/XML-Simple-${PV}" EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}" inherit cpan + +BBCLASSEXTEND = "native" -- cgit v1.2.3