diff options
| author | cajun-rat <phil@advancedtelematic.com> | 2018-02-02 15:09:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-02 15:09:54 +0100 |
| commit | 51173110ef607a90d3fe699a7f53b6fbe6c76385 (patch) | |
| tree | d92477a7b4eb371f1f057e13059bd2e692fbf51e /scripts/envsetup.sh | |
| parent | 1ea77e2a98e77956d687cfa6c445518938a5e809 (diff) | |
| parent | 296497365ed9fa11c752d51d1e71b25a054cd5d4 (diff) | |
| download | meta-updater-51173110ef607a90d3fe699a7f53b6fbe6c76385.tar.gz | |
Merge pull request #248 from advancedtelematic/feat/mergerocko
Merge our current progress from Rocko to master
Diffstat (limited to 'scripts/envsetup.sh')
| -rwxr-xr-x | scripts/envsetup.sh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/envsetup.sh b/scripts/envsetup.sh index 260b048..ff78681 100755 --- a/scripts/envsetup.sh +++ b/scripts/envsetup.sh | |||
| @@ -24,15 +24,7 @@ fi | |||
| 24 | METADIR="${SOURCEDIR}/../.." | 24 | METADIR="${SOURCEDIR}/../.." |
| 25 | 25 | ||
| 26 | if [[ ! -f "${BUILDDIR}/conf/local.conf" ]]; then | 26 | if [[ ! -f "${BUILDDIR}/conf/local.conf" ]]; then |
| 27 | if [ -z "$TEMPLATECONF" ] && [ -d ${METADIR}/meta-updater-${MACHINE}/conf ]; then | 27 | source "$METADIR/poky/oe-init-build-env" "$BUILDDIR" |
| 28 | # Use the template configurations for the specified machine | ||
| 29 | TEMPLATECONF=${METADIR}/meta-updater-${MACHINE}/conf | ||
| 30 | source "$METADIR/poky/oe-init-build-env" "$BUILDDIR" | ||
| 31 | unset TEMPLATECONF | ||
| 32 | else | ||
| 33 | # Use the default configurations or TEMPLATECONF set by the user | ||
| 34 | source "$METADIR/poky/oe-init-build-env" "$BUILDDIR" | ||
| 35 | fi | ||
| 36 | echo "METADIR := \"\${@os.path.abspath('${METADIR}')}\"" >> conf/bblayers.conf | 28 | echo "METADIR := \"\${@os.path.abspath('${METADIR}')}\"" >> conf/bblayers.conf |
| 37 | cat "${METADIR}/meta-updater/conf/include/bblayers/sota.inc" >> conf/bblayers.conf | 29 | cat "${METADIR}/meta-updater/conf/include/bblayers/sota.inc" >> conf/bblayers.conf |
| 38 | cat "${METADIR}/meta-updater/conf/include/bblayers/sota_${MACHINE}.inc" >> conf/bblayers.conf | 30 | cat "${METADIR}/meta-updater/conf/include/bblayers/sota_${MACHINE}.inc" >> conf/bblayers.conf |
