[meta-freescale] [base][PATCH 1/3] setup-environment: Do not restrict meta-freescale's distros usage.
Fabio Berton
fabio.berton at ossystems.com.br
Tue Nov 8 03:30:03 PST 2016
Allow use any distro with setup-environment script.
Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
setup-environment | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/setup-environment b/setup-environment
index a193abf..f4421e7 100755
--- a/setup-environment
+++ b/setup-environment
@@ -112,20 +112,10 @@ if [ -z "$SDKMACHINE" ]; then
fi
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`
-VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
-if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
usage
- echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by this build setup\n"
+ echo -e "\nYou must set \$DISTRO before setting up the environment."
clean_up
return 1
-else
- if [ ! -e $1/conf/local.conf.sample ]; then
- echo "Configuring for ${DISTRO}"
- fi
fi
OEROOT=$PWD/sources/poky
--
2.1.4
More information about the meta-freescale
mailing list