summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-04-14 00:32:42 +0200
committerGerrit Code Review <gerrit@172.30.200.200>2016-05-01 21:38:46 +0000
commitf431a64246282e068570519b137cc8670521addd (patch)
tree58ffdafc104a7129d1185a133d4541e0097607a6 /scripts
parent7e1ebd1b2588503d8e2216cee5e7db7d0c70df83 (diff)
Introduce TI DRA7 vayu and cleanup template files
This changeset introduces the TI 'vayu' board. We need to adapt the provided bsp layer 'meta-ti' as it is only at YP 1.8 fido right now. Two changes are needed/known: a) BBMASK eudev bbappend (local.conf.sample) b) apply patch for gcc5 to u-boot-ti-staging On top thie changeset also does janitorial work on the templates: - conf-notes is now in a folder common and symlinked - layer additions have been sync'ed - file layout sync'ed with templates in meta-agl-demo Change-Id: Ib52a9252800d54d5105ac1f5354ad3a3b014188f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/envsetup.sh16
1 files changed, 14 insertions, 2 deletions
diff --git a/scripts/envsetup.sh b/scripts/envsetup.sh
index 6ca10de4d..85069543a 100644
--- a/scripts/envsetup.sh
+++ b/scripts/envsetup.sh
@@ -6,7 +6,7 @@ if [ -z $1 ]; then
fi
MACHINE="$1"
-
+echo "MACHINE=$MACHINE"
case "$MACHINE" in
"porter")
@@ -43,6 +43,12 @@ case "$MACHINE" in
;;
"qemux86-64")
;;
+ "dra7xx-evm")
+ ;;
+ "vayu")
+ # nickname for dra7xx-evm
+ MACHINE="dra7xx-evm"
+ ;;
"wandboard")
;;
*)
@@ -51,14 +57,20 @@ case "$MACHINE" in
;;
esac
+echo "TEMPALTECONF=$TEMPLATECONF"
# set template conf for each <board/device>
if [ -z "$TEMPLATECONF" ]; then
+ # lookup meta-agl-demo first
if [ -d "$PWD/meta-agl-demo/templates/$MACHINE/conf" ]; then
TEMPLATECONF="$PWD/meta-agl-demo/templates/$MACHINE/conf"
+ # lookup meta-agl 2nd
+ elif [ -d "$PWD/meta-agl/templates/$MACHINE/conf" ]; then
+ TEMPLATECONF="$PWD/meta-agl/templates/$MACHINE/conf"
fi
fi
+echo "TEMPLATECONF=$TEMPLATECONF"
-echo "envsetup: Set '$1 as MACHINE."
+echo "envsetup: Set '$1' as MACHINE."
export MACHINE
# fallback