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 | |
parent | b059ff9b659ac3b8f4ac48bb18450366ff18ce81 (diff) |
gcc: Some futher .bb -> .inc changes
Diffstat (limited to 'classes')
-rw-r--r-- | classes/cpan.bbclass | 13 | ||||
-rw-r--r-- | classes/insane.bbclass | 2 |
2 files changed, 12 insertions, 3 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 diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 5ff49cd65e..52264e44b5 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -341,7 +341,7 @@ def package_qa_check_staged(path,d): pkgconfigcheck = workdir else: installed = "installed=yes" - pkgconfigcheck = tmpdir + pkgconfigcheck = workdir # find all .la and .pc files # read the content |