classes: run do_package before do_stage so we can populate staging with package if...
authorKoen Kooi <koen@openembedded.org>
Fri, 25 Aug 2006 18:14:28 +0000 (18:14 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 25 Aug 2006 18:14:28 +0000 (18:14 +0000)
classes/base.bbclass
classes/package.bbclass

index 6f8468b..f936dff 100644 (file)
@@ -601,8 +601,6 @@ base_do_compile() {
        fi
 }
 
-
-addtask stage after do_compile
 base_do_stage () {
        :
 }
@@ -614,13 +612,13 @@ 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
+addtask install after do_compile 
 do_install[dirs] = "${S} ${B}"
 
 base_do_install() {
index 0d6a773..d6f50fb 100644 (file)
@@ -738,4 +738,4 @@ do_package[dirs] = "${D}"
 do_package[deptask] = "do_package"
 populate_packages[dirs] = "${D}"
 EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook
-addtask package before do_build after do_populate_staging
+addtask package before do_build after do_install