Add the distro of poky in the support list.

Signed-off-by: Zhenhua Luo <[email protected]>
---
 setup-environment | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup-environment b/setup-environment
index a193abf..bfd8de3 100755
--- a/setup-environment
+++ b/setup-environment
@@ -115,7 +115,8 @@ if [ -z "$DISTRO" ]; then
     echo "You must set DISTRO before setting up the environment."
 fi
 # Check the machine type specified
-LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
+LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro \
+    $CWD/sources/poky/meta-poky/conf/distro`
 VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
 if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
     usage
-- 
2.7.4

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to