Return-Path: Received: from mail-gg0-f176.google.com (mail-gg0-f176.google.com [209.85.161.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 276EDE01731 for ; Fri, 1 Nov 2013 06:33:15 -0700 (PDT) Received: by mail-gg0-f176.google.com with SMTP id g9so1795561ggc.7 for ; Fri, 01 Nov 2013 06:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization; bh=q2ZFFw9QzcodQ0Ml/zZT90wWaKcQXFoUxZcknFA/Yy8=; b=pSDvFUhoFqrQDSkHXlBdpftzEaEKZYY2D6WQxyd0ldHtaLO3U1rkwDwQiTy6qQSq/I FW2/mAeocOYHEdlPYQp8/X2KwfXyVJLX7/a91qDH0p9d7gOOOkJK6++IqJpDvN54cucq yIcwe8pARDN5ehqOuTD3gGP8RY9tqAWYBvRsFWzKC+P5ejA6dfbbYOsF1Xj2qGBb+Hys LsZU29d2c6jaomqQDEuKUQFCMa0LCTqz+boWik0VTfYAWovqMrhQ8TZDvsaz4yHkB+H1 9LAyhyQdBCFJU1cVhyrocysTZ+tyEMR3FifRKubO97GW0fn14SOXzAmG4U7JDcnnGNE3 Rzww== X-Received: by 10.236.124.172 with SMTP id x32mr2166541yhh.59.1383312794166; Fri, 01 Nov 2013 06:33:14 -0700 (PDT) Received: from nano.lab.ossystems.com.br ([177.194.208.225]) by mx.google.com with ESMTPSA id o27sm4427669yhb.19.2013.11.01.06.33.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Nov 2013 06:33:13 -0700 (PDT) Sender: Otavio Salvador Received: by nano.lab.ossystems.com.br (Postfix, from userid 1000) id D059E16F792AB; Fri, 1 Nov 2013 11:33:10 -0200 (BRST) From: Otavio Salvador To: meta-freescale Mailing List Date: Fri, 1 Nov 2013 11:33:03 -0200 Message-Id: <1383312784-755-1-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.4.rc3 Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [fsl-community-bsp-base][PATCH 1/2] setup-environment: Move DL_DIR setting to local.conf 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: Fri, 01 Nov 2013 13:33:16 -0000 This improves user-friendness as it makes clear where it is storing the downloads cache. Change-Id: Iedd2d22b938ea192dda96ef2c80a716d6796e53f Signed-off-by: Otavio Salvador --- conf/site.conf | 5 ----- setup-environment | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 conf/site.conf diff --git a/conf/site.conf b/conf/site.conf deleted file mode 100644 index e7f94b1..0000000 --- a/conf/site.conf +++ /dev/null @@ -1,5 +0,0 @@ -SCONF_VERSION = "1" - -BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" - -DL_DIR = "${BSPDIR}/downloads/" diff --git a/setup-environment b/setup-environment index 2583fe3..3d071ab 100644 --- a/setup-environment +++ b/setup-environment @@ -145,6 +145,8 @@ if [ ! -e conf/local.conf.sample ]; then BB_NUMBER_THREADS = '$NCPU' PARALLEL_MAKE = '-j $NCPU' + +DL_DIR ?= "\${BSPDIR}/downloads/" EOF # Change settings according environment sed -e "s,MACHINE ??=.*,MACHINE ??= '$MACHINE',g" \ -- 1.8.4.rc3