Support MinnowBoard MAX
[AGL/meta-agl.git] / scripts / envsetup.sh
index 27d73a7..adde540 100644 (file)
@@ -2,7 +2,7 @@
 
 if [ -z $1 ]; then
         echo -e "Usage: source envsetup.sh <board/device> [build dir]"
-        return -1
+        return 1
 fi
 
 case "$1" in
@@ -14,13 +14,17 @@ case "$1" in
                         copy_mm_packages $1
                         if [ $? -ne 0 ]; then
                                 echo "Copying gfx drivers and multimedia packages for '$1' failed."
-                                return -1
+                                return 1
                         fi
                 fi
 
                 # template conf for R-Car2 M2 Porter board
                 TEMPLATECONF=$PWD/meta-renesas/meta-rcar-gen2/conf
                 ;;
+        "intel-corei7-64")
+                # template conf for MinnowBoard MAX
+                TEMPLATECONF=$PWD/meta-agl-demo/conf
+                ;;
         "qemux86-64")
                 # template conf for QEMU x86-64
                 TEMPLATECONF=$PWD/meta-agl-demo/conf