From 04b8509c8a8f77d4fe3fed8883ceda61eb69069b Mon Sep 17 00:00:00 2001
From: =?utf8?q?Jan-Simon=20M=C3=B6ller?= <jsmoeller@linuxfoundation.org>
Date: Sat, 9 Apr 2016 04:01:37 +0200
Subject: [PATCH] Add machine porter-nogfx
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

This alias will not extract the tarballs and allow us to build core-image-minimal for the
renesas board w/o the proprietary blobs.

Change-Id: I22061a87f5802e6ce2bc6a8260eeee4cfa2ab1f7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
---
 scripts/envsetup.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/scripts/envsetup.sh b/scripts/envsetup.sh
index 0b783e9a2..b30e0a66b 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"
-- 
2.16.6