diff options
Diffstat (limited to 'buildconf/export')
-rw-r--r-- | buildconf/export | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildconf/export b/buildconf/export index 11f9d8e..ec943e6 100644 --- a/buildconf/export +++ b/buildconf/export @@ -19,9 +19,9 @@ if [ $FIRST_TIME -eq 1 ]; then mkdir -p conf cp ../layers/meta-toradex-distro/buildconf/*.conf conf/ - if [ -f conf/local.conf -a \ - -z "$(grep use-head-next conf/local.conf)" -a \ - -z "$(grep -c "meta-toradex-bsp-common.git.*upstream" ../.repo/manifest.xml)" ] + if grep -q "meta-toradex-bsp-common" ../.repo/manifest.xml && \ + ! grep -q "meta-toradex-bsp-common.git.*upstream" ../.repo/manifest.xml || \ + grep -qE "(integration.xml|next.xml)" ../.repo/manifest.xml then { echo "# This is needed when building on integration. With use-head-next you" |