Skip to contentSkip to conversation

setup-environment: support the distro provided by poky

PATCH New Zhenhua Luo 1 participant 1 message Nov 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setup-environment: support the distro provided by poky

Add the distro of poky in the support list.

---
 setup-environment | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
setup-environment +2 -1
index a193abf..bfd8de3 100755
@@ -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
Signature · 1 line
2.7.4