Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7BFA1E00571; Tue, 8 Nov 2016 03:30:43 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.213.65 listed in list.dnswl.org] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.213.65 listed in dnsbl.sorbs.net] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-vk0-f65.google.com (mail-vk0-f65.google.com [209.85.213.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2A7CDE00571 for ; Tue, 8 Nov 2016 03:30:41 -0800 (PST) Received: by mail-vk0-f65.google.com with SMTP id p9so7519821vkd.1 for ; Tue, 08 Nov 2016 03:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :organization; bh=fbKpBEgpC2o9MB44m+TRt9xIDv/8CfBb0+p3SblNdG8=; b=bVNfsRItofT9ovSVQqfyj5a/GzrON1DQ5hmA93C1z50+l0POsj4OVjPJeTayr0uokX KUYK+WuEo3908QCcHiHu/SOhFQEYnwYEL5/rCBpSuPdz8kzr+6+L/njocNbzJlUxDX+h l9argtg+hF39yUPyT0swZplXWbkkCvAUBd/D8thc2sygzWbzurb+pRavtsMT08ewyP7n OuLGMpbrqHOXtb0liiZxDKntFTeJ5vratjCvR2rYv2pxvk/VI04sw7E7ZCpYrmPZzeyL OGC8fetnwA+s2APwkYqUYPE21o7i5ehSZG6uCJvfAozX8EJtz5QYIQxgzFAJmRDwHPFe Uf9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=fbKpBEgpC2o9MB44m+TRt9xIDv/8CfBb0+p3SblNdG8=; b=d/7BQ2ceInzvkpJL039R7noWND1kmLitamGoWqTa2+SSjG98ZcSPVeDfF6nRP/k4UZ mNajO2hObwge0+p+BvQ1g7ns7fJpmadeyB8C0KJ2CULjfTmkApp35F+bslb/RHdhHBvz U/BkzenXRAYZp+5e1W7dVdrdTdCuRbUPCRmhcohmkj7pGDcpuEURkGFQJIpP9/g/kjB5 9Q61Eyp737MeslTxgXpD2Yptoa6l0VHS9w6HhconEoecHX6Ri77FeJGpHI0DRcGwvX2n /SR90QPMpmOfx8iDZ+pL7gJDzArWX0L2bExywzrDyR1Zc8aFR85sbWABQexuICM471CM oRXg== X-Gm-Message-State: ABUngvflLj/r6yKij0GuYFL2ZvRkxk5se6ePOcijqbCB9u9E8cpL86mduiJvyZUQvbie8w== X-Received: by 10.31.164.87 with SMTP id n84mr8170594vke.52.1478604640687; Tue, 08 Nov 2016 03:30:40 -0800 (PST) Received: from monster.lab.ossystems.com.br ([187.23.155.148]) by smtp.gmail.com with ESMTPSA id 59sm7345016uak.6.2016.11.08.03.30.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Nov 2016 03:30:39 -0800 (PST) From: Fabio Berton To: meta-freescale@yoctoproject.org Date: Tue, 8 Nov 2016 09:30:04 -0200 Message-Id: <1478604605-27869-2-git-send-email-fabio.berton@ossystems.com.br> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478604605-27869-1-git-send-email-fabio.berton@ossystems.com.br> References: <1478604605-27869-1-git-send-email-fabio.berton@ossystems.com.br> Organization: O.S. Systems Software LTDA. Subject: [base][PATCH 2/3] setup-environment: Do not restrict machine usage X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2016 11:30:43 -0000 Allow use any machine with setup-environment script. Signed-off-by: Fabio Berton --- 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