From f431a64246282e068570519b137cc8670521addd Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 14 Apr 2016 00:32:42 +0200 Subject: Introduce TI DRA7 vayu and cleanup template files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- scripts/envsetup.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'scripts') 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 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 -- cgit 1.2.3-korg