diff options
-rw-r--r-- | meta/classes/archive-configured-source.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/archive-original-source.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/archive-patched-source.bbclass | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/meta/classes/archive-configured-source.bbclass b/meta/classes/archive-configured-source.bbclass index 4fc5129c9d..2738cab9a5 100644 --- a/meta/classes/archive-configured-source.bbclass +++ b/meta/classes/archive-configured-source.bbclass | |||
@@ -28,9 +28,10 @@ python () { | |||
28 | """ | 28 | """ |
29 | d.appendVarFlag('do_compile', 'depends', ' %s:do_archive_configured_sources' %pn) | 29 | d.appendVarFlag('do_compile', 'depends', ' %s:do_archive_configured_sources' %pn) |
30 | build_deps = ' %s:do_archive_configured_sources' %pn | 30 | build_deps = ' %s:do_archive_configured_sources' %pn |
31 | build_deps += ' %s:do_archive_scripts_logs' %pn | 31 | if d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) == 'logs_with_scripts': |
32 | build_deps += ' %s:do_archive_scripts_logs' %pn | ||
33 | d.appendVarFlag('do_archive_scripts_logs', 'depends', ' %s:do_package_write_' %pn + packaging) | ||
32 | d.appendVarFlag('do_build', 'depends', build_deps) | 34 | d.appendVarFlag('do_build', 'depends', build_deps) |
33 | d.appendVarFlag('do_archive_scripts_logs', 'depends', ' %s:do_package_write_' %pn + packaging) | ||
34 | 35 | ||
35 | else: | 36 | else: |
36 | d.prependVarFlag('do_configure', 'postfuncs', "do_archive_configured_sources") | 37 | d.prependVarFlag('do_configure', 'postfuncs', "do_archive_configured_sources") |
diff --git a/meta/classes/archive-original-source.bbclass b/meta/classes/archive-original-source.bbclass index 3aea4f468f..2858d33876 100644 --- a/meta/classes/archive-original-source.bbclass +++ b/meta/classes/archive-original-source.bbclass | |||
@@ -28,9 +28,10 @@ python () { | |||
28 | """ | 28 | """ |
29 | d.appendVarFlag('do_patch', 'depends', ' %s:do_archive_original_sources_patches' %pn) | 29 | d.appendVarFlag('do_patch', 'depends', ' %s:do_archive_original_sources_patches' %pn) |
30 | build_deps = ' %s:do_archive_original_sources_patches' %pn | 30 | build_deps = ' %s:do_archive_original_sources_patches' %pn |
31 | build_deps += ' %s:do_archive_scripts_logs' %pn | 31 | if d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) == 'logs_with_scripts': |
32 | build_deps += ' %s:do_archive_scripts_logs' %pn | ||
33 | d.appendVarFlag('do_archive_scripts_logs', 'depends', ' %s:do_package_write_' %pn + packaging) | ||
32 | d.appendVarFlag('do_build', 'depends', build_deps) | 34 | d.appendVarFlag('do_build', 'depends', build_deps) |
33 | d.appendVarFlag('do_archive_scripts_logs', 'depends', ' %s:do_package_write_' %pn + packaging) | ||
34 | 35 | ||
35 | else: | 36 | else: |
36 | d.prependVarFlag('do_unpack', 'postfuncs', "do_archive_original_sources_patches") | 37 | d.prependVarFlag('do_unpack', 'postfuncs', "do_archive_original_sources_patches") |
diff --git a/meta/classes/archive-patched-source.bbclass b/meta/classes/archive-patched-source.bbclass index d7ed6c8785..b47d36cb09 100644 --- a/meta/classes/archive-patched-source.bbclass +++ b/meta/classes/archive-patched-source.bbclass | |||
@@ -28,9 +28,10 @@ python () { | |||
28 | """ | 28 | """ |
29 | d.appendVarFlag('do_configure', 'depends', ' %s:do_archive_patched_sources' %pn) | 29 | d.appendVarFlag('do_configure', 'depends', ' %s:do_archive_patched_sources' %pn) |
30 | build_deps = ' %s:do_archive_patched_sources' %pn | 30 | build_deps = ' %s:do_archive_patched_sources' %pn |
31 | build_deps += ' %s:do_archive_scripts_logs' %pn | 31 | if d.getVar('SOURCE_ARCHIVE_LOG_WITH_SCRIPTS', True) == 'logs_with_scripts': |
32 | build_deps += ' %s:do_archive_scripts_logs' %pn | ||
33 | d.appendVarFlag('do_archive_scripts_logs', 'depends', ' %s:do_package_write_' %pn + packaging) | ||
32 | d.appendVarFlag('do_build', 'depends', build_deps) | 34 | d.appendVarFlag('do_build', 'depends', build_deps) |
33 | d.appendVarFlag('do_archive_scripts_logs', 'depends', ' %s:do_package_write_' %pn + packaging) | ||
34 | 35 | ||
35 | else: | 36 | else: |
36 | d.prependVarFlag('do_patch', 'postfuncs', "do_archive_patched_sources") | 37 | d.prependVarFlag('do_patch', 'postfuncs', "do_archive_patched_sources") |