diff options
-rw-r--r-- | meta/classes/base.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/package.bbclass | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 6faeb979c5..a36829006e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -548,7 +548,6 @@ base_do_compile() { | |||
548 | } | 548 | } |
549 | 549 | ||
550 | 550 | ||
551 | addtask stage after do_compile | ||
552 | base_do_stage () { | 551 | base_do_stage () { |
553 | : | 552 | : |
554 | } | 553 | } |
@@ -560,14 +559,14 @@ do_populate_staging[dirs] = "${STAGING_DIR}/${TARGET_SYS}/bin ${STAGING_DIR}/${T | |||
560 | ${STAGING_DATADIR} \ | 559 | ${STAGING_DATADIR} \ |
561 | ${S} ${B}" | 560 | ${S} ${B}" |
562 | 561 | ||
563 | addtask populate_staging after do_compile | 562 | addtask populate_staging after do_package |
564 | 563 | ||
565 | python do_populate_staging () { | 564 | python do_populate_staging () { |
566 | bb.build.exec_func('do_stage', d) | 565 | bb.build.exec_func('do_stage', d) |
567 | } | 566 | } |
568 | 567 | ||
569 | addtask install after do_compile | 568 | addtask install after do_compile |
570 | do_install[dirs] = "${S} ${B}" | 569 | do_install[dirs] = "${D} ${S} ${B}" |
571 | 570 | ||
572 | base_do_install() { | 571 | base_do_install() { |
573 | : | 572 | : |
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index c7f366e19b..8a7760724e 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -725,7 +725,7 @@ python package_do_split_locales() { | |||
725 | bb.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d) | 725 | bb.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d) |
726 | } | 726 | } |
727 | 727 | ||
728 | PACKAGEFUNCS = "do_install package_do_split_locales \ | 728 | PACKAGEFUNCS = "package_do_split_locales \ |
729 | populate_packages package_do_shlibs \ | 729 | populate_packages package_do_shlibs \ |
730 | package_do_pkgconfig read_shlibdeps" | 730 | package_do_pkgconfig read_shlibdeps" |
731 | python package_do_package () { | 731 | python package_do_package () { |
@@ -738,4 +738,4 @@ do_package[dirs] = "${D}" | |||
738 | do_package[deptask] = "do_package" | 738 | do_package[deptask] = "do_package" |
739 | populate_packages[dirs] = "${D}" | 739 | populate_packages[dirs] = "${D}" |
740 | EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook | 740 | EXPORT_FUNCTIONS do_package do_shlibs do_split_locales mapping_rename_hook |
741 | addtask package before do_build after do_populate_staging | 741 | addtask package before do_build after do_install |