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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user