diff options
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 40b0375e0b..800e1175d7 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -589,11 +589,8 @@ sdk_ext_preinst() { | |||
589 | exit 1 | 589 | exit 1 |
590 | fi | 590 | fi |
591 | SDK_EXTENSIBLE="1" | 591 | SDK_EXTENSIBLE="1" |
592 | if [ "$publish" = "1" ] ; then | 592 | if [ "$publish" = "1" ] && [ "${SDK_EXT_TYPE}" = "minimal" ] ; then |
593 | EXTRA_TAR_OPTIONS="$EXTRA_TAR_OPTIONS --exclude=ext-sdk-prepare.py" | 593 | EXTRA_TAR_OPTIONS="$EXTRA_TAR_OPTIONS --exclude=sstate-cache" |
594 | if [ "${SDK_EXT_TYPE}" = "minimal" ] ; then | ||
595 | EXTRA_TAR_OPTIONS="$EXTRA_TAR_OPTIONS --exclude=sstate-cache" | ||
596 | fi | ||
597 | fi | 594 | fi |
598 | } | 595 | } |
599 | SDK_PRE_INSTALL_COMMAND_task-populate-sdk-ext = "${sdk_ext_preinst}" | 596 | SDK_PRE_INSTALL_COMMAND_task-populate-sdk-ext = "${sdk_ext_preinst}" |
@@ -635,6 +632,8 @@ sdk_ext_postinst() { | |||
635 | # sourcing a script. That is why this has to look so ugly. | 632 | # sourcing a script. That is why this has to look so ugly. |
636 | LOGFILE="$target_sdk_dir/preparing_build_system.log" | 633 | LOGFILE="$target_sdk_dir/preparing_build_system.log" |
637 | sh -c ". buildtools/environment-setup* > $LOGFILE && cd $target_sdk_dir/`dirname ${oe_init_build_env_path}` && set $target_sdk_dir && . $target_sdk_dir/${oe_init_build_env_path} $target_sdk_dir >> $LOGFILE && python $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'" || { echo "printf 'ERROR: this SDK was not fully installed and needs reinstalling\n'" >> $env_setup_script ; exit 1 ; } | 634 | sh -c ". buildtools/environment-setup* > $LOGFILE && cd $target_sdk_dir/`dirname ${oe_init_build_env_path}` && set $target_sdk_dir && . $target_sdk_dir/${oe_init_build_env_path} $target_sdk_dir >> $LOGFILE && python $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'" || { echo "printf 'ERROR: this SDK was not fully installed and needs reinstalling\n'" >> $env_setup_script ; exit 1 ; } |
635 | fi | ||
636 | if [ -e $target_sdk_dir/ext-sdk-prepare.py ]; then | ||
638 | rm $target_sdk_dir/ext-sdk-prepare.py | 637 | rm $target_sdk_dir/ext-sdk-prepare.py |
639 | fi | 638 | fi |
640 | echo done | 639 | echo done |