diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 14:01:55 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 14:01:55 +0000 |
commit | 96502b190d236f38574a88f947e5ba57956642cb (patch) | |
tree | 2f832fc26c1547ca0f0b90f0de8e1fd5b0f6b9cc /classes/cpan.bbclass | |
parent | b059ff9b659ac3b8f4ac48bb18450366ff18ce81 (diff) |
gcc: Some futher .bb -> .inc changes
Diffstat (limited to 'classes/cpan.bbclass')
-rw-r--r-- | classes/cpan.bbclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 5a0b4a5c92..506d4c4c81 100644 --- a/classes/cpan.bbclass +++ b/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 |