Allow use any machine with setup-environment script. Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> --- setup-environment | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/setup-environment b/setup-environment index f4421e7..d954f69 100755 --- a/setup-environment +++ b/setup-environment @@ -90,21 +90,10 @@ if [ "$(whoami)" = "root" ]; then fi if [ -z "$MACHINE" ]; then - MACHINE='imx6qsabresd' -fi - -# Check the machine type specified -LIST_MACHINES=`ls -1 $CWD/sources/*/conf/machine` -VALID_MACHINE=`echo -e "$LIST_MACHINES" | grep ${MACHINE}.conf$ | wc -l` -if [ "x$MACHINE" = "x" ] || [ "$VALID_MACHINE" = "0" ]; then usage - echo -e "\nThe \$MACHINE you have specified ($MACHINE) is not supported by this build setup" + echo -e "\nYou must set \$MACHINE before setting up the environment." clean_up return 1 -else - if [ ! -e $1/conf/local.conf.sample ]; then - echo "Configuring for ${MACHINE}" - fi fi if [ -z "$SDKMACHINE" ]; then -- 2.1.4 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale