setup-environment: support the distro provided by poky
PATCH 1/1 setup-environment: support the distro provided by poky
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(-)
setup-environment +2 -1
@@ -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