X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Fenvsetup.sh;h=6ca10de4d98dc78d800a639184379354cdce34ab;hb=7e1ebd1b2588503d8e2216cee5e7db7d0c70df83;hp=0b783e9a2a0fca2cf9161eb3f8836d02bc658e6a;hpb=d33e1cc64a0b204bbacca793569b581024133061;p=AGL%2Fmeta-agl.git diff --git a/scripts/envsetup.sh b/scripts/envsetup.sh index 0b783e9a2..6ca10de4d 100644 --- a/scripts/envsetup.sh +++ b/scripts/envsetup.sh @@ -21,6 +21,13 @@ case "$MACHINE" in fi fi + if [ ! -d "$TEMPLATECONF" ]; then + # set template conf for R-Car2 M2 Porter board + TEMPLATECONF="$PWD/meta-renesas/meta-rcar-gen2/conf" + fi + ;; + "porter-nogfx") + MACHINE="porter" if [ ! -d "$TEMPLATECONF" ]; then # set template conf for R-Car2 M2 Porter board TEMPLATECONF="$PWD/meta-renesas/meta-rcar-gen2/conf" @@ -70,6 +77,11 @@ else BUILD_DIR=build fi +echo "envsetup: Setup build environment for poky/oe." +echo -e + +source poky/oe-init-build-env $BUILD_DIR + if [ -n "$DL_DIR" ]; then BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR" fi @@ -80,9 +92,4 @@ fi export BB_ENV_EXTRAWHITE -echo "envsetup: Setup build environment for poky/oe." -echo -e - -source poky/oe-init-build-env $BUILD_DIR - unset TEMPLATECONF