summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/envsetup.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/envsetup.sh b/scripts/envsetup.sh
index b30e0a66b..6ca10de4d 100644
--- a/scripts/envsetup.sh
+++ b/scripts/envsetup.sh
@@ -77,6 +77,11 @@ else
BUILD_DIR=build
fi
+echo "envsetup: Setup build environment for poky/oe."
+echo -e
+
+source poky/oe-init-build-env $BUILD_DIR
+
if [ -n "$DL_DIR" ]; then
BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR"
fi
@@ -87,9 +92,4 @@ fi
export BB_ENV_EXTRAWHITE
-echo "envsetup: Setup build environment for poky/oe."
-echo -e
-
-source poky/oe-init-build-env $BUILD_DIR
-
unset TEMPLATECONF