mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
37fb8cd049
commit
ddb8aa2f29
@@ -1,7 +0,0 @@
|
|||||||
SECTION = "libs"
|
|
||||||
|
|
||||||
inherit native
|
|
||||||
|
|
||||||
require libxml-simple-perl_${PV}.bb
|
|
||||||
|
|
||||||
DEPENDS += "libxml-parser-perl-native"
|
|
||||||
@@ -14,3 +14,5 @@ S = "${WORKDIR}/XML-Simple-${PV}"
|
|||||||
EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}"
|
EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl-native/perl/${@get_perl_version(d)}"
|
||||||
|
|
||||||
inherit cpan
|
inherit cpan
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user