diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-03 23:19:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-03 18:07:25 +0100 |
commit | ddb8aa2f29cd09263cd6eb2680844e73144bde1c (patch) | |
tree | 9a2886ee24a5ad6492248f8936941c3fb42b52cb | |
parent | 37fb8cd04972222e0661844df07c16c88defa8e5 (diff) | |
download | poky-ddb8aa2f29cd09263cd6eb2680844e73144bde1c.tar.gz |
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.
(From OE-Core rev: aa8f6b64055c6576bcdb63d3bbf9ab47b87c0d59)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb | 2 |
2 files changed, 2 insertions, 7 deletions
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 3877d0bde1..0000000000 --- a/meta/recipes-devtools/perl/libxml-simple-perl-native_2.18.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | SECTION = "libs" | ||
2 | |||
3 | inherit native | ||
4 | |||
5 | require libxml-simple-perl_${PV}.bb | ||
6 | |||
7 | 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 3a50d7f1d2..f2abf9dff9 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}" | |||
14 | EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}" | 14 | EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}" |
15 | 15 | ||
16 | inherit cpan | 16 | inherit cpan |
17 | |||
18 | BBCLASSEXTEND = "native" | ||