Allow use any distro with setup-environment script. Signed-off-by: Fabio Berton <fabio.ber...@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 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale