git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8b1be
)
cpan.bbclass: Run the install routine as the staging task instead of install when...
author
Richard Purdie
<rpurdie@rpsys.net>
Mon, 17 Mar 2008 20:43:12 +0000
(20:43 +0000)
committer
Richard Purdie
<rpurdie@rpsys.net>
Mon, 17 Mar 2008 20:43:12 +0000
(20:43 +0000)
classes/cpan.bbclass
patch
|
blob
|
history
diff --git
a/classes/cpan.bbclass
b/classes/cpan.bbclass
index
5a0b4a5
..
506d4c4
100644
(file)
--- 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