1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

cpan.bbclass: Fix native staging functions (sync with OE.dev)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4063 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-03-19 16:07:05 +00:00
parent 7c097c7812
commit 4b55118c3c
+11 -2
View File
@@ -50,7 +50,16 @@ cpan_do_compile () {
}
cpan_do_install () {
oe_runmake install_vendor
if [ ${@is_target(d)} == "yes" ]; then
oe_runmake install_vendor
fi
}
EXPORT_FUNCTIONS do_configure do_compile do_install
cpan_do_stage () {
if [ ${@is_target(d)} == "no" ]; then
oe_runmake install_vendor
fi
}
EXPORT_FUNCTIONS do_configure do_compile do_install do_stage