summaryrefslogtreecommitdiff
path: root/oe-init-build-env
diff options
context:
space:
mode:
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env23
1 files changed, 8 insertions, 15 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 4a6b304..38d44aa 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -53,12 +53,15 @@ export OEROOT
. $OEROOT/scripts/oe-buildenv-internal
buildenv=$?
+declare -a WlAdditions=("OEROOT" "MTIMG" "SDMFG" "SDFMT" "TI_SECURE_DEV_PKG" "TI_SECURE_DEV_PKG_CAT")
-if [ "$(echo "$BB_ENV_EXTRAWHITE" | sed -re 's/[ \t]+/\n/g' | egrep '^OEROOT$')" != "OEROOT" ] ; then
- echo $BB_ENV_EXTRAWHITE needs correction
- BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE OEROOT"
- export BB_ENV_EXTRAWHITE
-fi
+for entry in ${WlAdditions[@]}; do
+ if [ "$(echo "$BB_ENV_EXTRAWHITE" | sed -re 's/[ \t]+/\n/g' | egrep ''^$entry'')" != "$entry" ] ; then
+ echo $BB_ENV_EXTRAWHITE needs correction
+ BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE $entry"
+ export BB_ENV_EXTRAWHITE
+ fi
+done
[ $buildenv -eq 0 ] &&
TEMPLATECONF="$TEMPLATECONF" $OEROOT/scripts/oe-setup-builddir || {
@@ -74,13 +77,3 @@ if [ -z "$BBSERVER" ] && [ -f bitbake.lock ]; then
BBSERVER=$(cat bitbake.lock) bitbake -m
fi
fi
-if ! [[ -x ../setkernelversion.sh ]] ; then
- echo "expect to find ../setkernelversion.sh"
- echo "Name of .. directory $(cd ..;pwd)"
- echo "found these files in ..:"
- ls ..
- if ! return 1 2>/dev/null ; then
- exit 1
- fi
-fi
-../setkernelversion.sh