diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-19 16:07:05 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-19 16:07:05 +0000 |
commit | 4b55118c3c20ded8275d725505ba1f3dd5ea65a2 (patch) | |
tree | fa18d3b850d518628c77e629980498e29d627283 /meta/classes/cpan.bbclass | |
parent | 7c097c78121bc03a105116ff46de4d3ce3fc245f (diff) | |
download | openembedded-core-4b55118c3c20ded8275d725505ba1f3dd5ea65a2.tar.gz openembedded-core-4b55118c3c20ded8275d725505ba1f3dd5ea65a2.tar.bz2 openembedded-core-4b55118c3c20ded8275d725505ba1f3dd5ea65a2.tar.xz openembedded-core-4b55118c3c20ded8275d725505ba1f3dd5ea65a2.zip |
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
Diffstat (limited to 'meta/classes/cpan.bbclass')
-rw-r--r-- | meta/classes/cpan.bbclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index 5a0b4a5c9..506d4c4c8 100644 --- a/meta/classes/cpan.bbclass +++ b/meta/classes/cpan.bbclass @@ -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 +} + +cpan_do_stage () { + if [ ${@is_target(d)} == "no" ]; then + oe_runmake install_vendor + fi } + -EXPORT_FUNCTIONS do_configure do_compile do_install +EXPORT_FUNCTIONS do_configure do_compile do_install do_stage |