[meta-freescale] [fsl-community-bsp-base][PATCH] setup-environment: support the distro provided by poky
Zhenhua Luo
zhenhua.luo at nxp.com
Tue Nov 8 01:31:29 PST 2016
Add the distro of poky in the support list.
Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
---
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
More information about the meta-freescale
mailing list