classes: Reorder tasks so staging occurs after packaging. Add do_install into the task chain with dirs fix. Changes merged from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@727 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2006-09-18 20:31:39 +00:00
parent 1f0424a2d3
commit 04f6953333
2 changed files with 4 additions and 5 deletions

View File

@@ -548,7 +548,6 @@ base_do_compile() {
}
addtask stage after do_compile
base_do_stage () {
:
}
@@ -560,14 +559,14 @@ do_populate_staging[dirs] = "${STAGING_DIR}/${TARGET_SYS}/bin ${STAGING_DIR}/${T
${STAGING_DATADIR} \
${S} ${B}"
addtask populate_staging after do_compile
addtask populate_staging after do_package
python do_populate_staging () {
bb.build.exec_func('do_stage', d)
}
addtask install after do_compile
do_install[dirs] = "${S} ${B}"
do_install[dirs] = "${D} ${S} ${B}"
base_do_install() {
: