summaryrefslogtreecommitdiff
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-11-12 15:41:48 -0600
committerJohn Klug <john.klug@multitech.com>2020-11-12 15:41:48 -0600
commit792f811ca0d40b1d75eb84fa6841be2af82cdfe7 (patch)
treea00946a683f4505ccca7335429049568215f756a /oe-init-build-env
parenta16d788bfebc3c619c87f64615469e2a52451cc5 (diff)
downloadmlinux-792f811ca0d40b1d75eb84fa6841be2af82cdfe7.tar.gz
mlinux-792f811ca0d40b1d75eb84fa6841be2af82cdfe7.tar.bz2
mlinux-792f811ca0d40b1d75eb84fa6841be2af82cdfe7.zip
Switch to Yocto Thud branch
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