aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/populate_sdk_ext.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-03-21 18:14:01 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-23 14:24:24 +0000
commit6b38a991a3475fb82889428b94563968c7570473 (patch)
treefbaeef42711c9c514dec531ac5005376d0097054 /meta/classes/populate_sdk_ext.bbclass
parenta86b426cdd465ec5cb08bb5fa7729e4e673d94bb (diff)
downloadopenembedded-core-contrib-6b38a991a3475fb82889428b94563968c7570473.tar.gz
openembedded-core-contrib-6b38a991a3475fb82889428b94563968c7570473.tar.bz2
openembedded-core-contrib-6b38a991a3475fb82889428b94563968c7570473.zip
classes/populate_sdk_ext: parse metadata on minimal SDK install
Instead of skipping the build system preparation step within the extensible SDK install process when SDK_EXT_TYPE is "minimal", run bitbake -p so that the cache is populated ready for the first time devtool is run. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index be4bcc02e9..cabf8155b4 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -374,7 +374,7 @@ sdk_ext_postinst() {
# Warn if trying to use external bitbake and the ext SDK together
echo "(which bitbake > /dev/null 2>&1 && echo 'WARNING: attempting to use the extensible SDK in an environment set up to run bitbake - this may lead to unexpected results. Please source this script in a new shell session instead.') || true" >> $env_setup_script
- if [ "$prepare_buildsystem" != "no" -a -n "${@SDK_INSTALL_TARGETS.strip()}" ]; then
+ if [ "$prepare_buildsystem" != "no" ]; then
printf "Preparing build system...\n"
# dash which is /bin/sh on Ubuntu will not preserve the
# current working directory when first ran, nor will it set $1 when