Return-Path: Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by arago-project.org (Postfix) with ESMTPS id 4A3FC529B8 for ; Thu, 1 Nov 2012 18:38:25 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id n12so2650442oag.38 for ; Thu, 01 Nov 2012 11:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=bidHthPxkYk2kMd5XQaQCQkH7bbZXTurimNtxN+P4zQ=; b=K8jeBsIUPSDVKa66/y2RgSdru0h/nuXqK5+vVP9g26FT5p8FueQRg3Vve+wddryb02 5arp/WuoqCPwmAdlpZ1lxagzRhutUTJLpAshEVtIc0Hq9MoFjcyUF9sTRqExzneJCawO Z+Z54Eq4Z3AXx+OY//9cRLeQr2blJuVymW9iTqLPgLbBH5E4dvi7u5NmM8NLyol4BKck PvEeuBOlZtvHxV9q3kUTJrCArFEBiyVtQtdvllwypkX8Q8+fdOpCXZxOnDQKTNnK4Ug5 XK6brICehlmeUgdEJZgLdm5drAFmlcgUHBMpkmm+83GCplDQR0GQSUTbOYiDnEhOYtyC EtUQ== Received: by 10.182.150.34 with SMTP id uf2mr34450568obb.66.1351795104744; Thu, 01 Nov 2012 11:38:24 -0700 (PDT) Received: from localhost.localdomain (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id hz6sm6969607obb.1.2012.11.01.11.38.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Nov 2012 11:38:24 -0700 (PDT) From: "Franklin S. Cooper Jr" To: meta-arago@arago-project.org Date: Thu, 1 Nov 2012 13:38:20 -0500 Message-Id: <1351795100-4596-1-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 1.7.0.4 Cc: "Franklin S. Cooper Jr" Subject: [PATCH] board-port-labs: Tweak recipe X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 18:38:25 -0000 * Move the git repositories links from the REPOS variable to the SRC_URI. * Remove the repos_checkout task. This allows do_fetch to handle the fetching which is alot faster since the two repositories do not have to be redownloaded every time this recipe is built. Signed-off-by: Franklin S. Cooper Jr --- .../board-port-labs/board-port-labs_git.bb | 29 ++++++++----------- 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs_git.bb b/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs_git.bb index 97ca84d..d7329cc 100644 --- a/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs_git.bb +++ b/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs_git.bb @@ -3,29 +3,24 @@ HOMEPAGE = "https://gitorious.org/sitara-board-port" LICENSE = "GPLv2" DEPENDS += "git-native" -SRC_URI = "file://LICENSE" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d9fb2a547cd8e6bb75c0ecf427a139a9" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=d9fb2a547cd8e6bb75c0ecf427a139a9" PACKAGE_ARCH = "all" + CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "board-support/board-port-labs" -PR = "r0" +PR = "r1" -REPOS ?= "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git \ - git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git \ - " +BRANCH = "board-port-05.05.00.00" -S = "${WORKDIR}" +SRC_URI = "\ + file://LICENSE \ + git://gitorious.org/sitara-board-port/sitara-board-port-linux.git;protocol=git;branch=${BRANCH};destsuffix=board-support/sitara-board-port-linux;name=board-support-linux \ + git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git;protocol=git;branch=${BRANCH};destsuffix=board-support/sitara-board-port-uboot;name=board-support-u-boot \ +" -# Checkout the REPOS before the do_patch task so that it will be done prior -# to the srcipk being made. -do_repos_checkout() { - cd ${S} - for r in ${REPOS} - do - git clone $r - done -} +SRCREV_board-support-linux = "eaf6d6b4447b132592896fb87d914d130892cd2e" +SRCREV_board-support-u-boot = "c817fbabece6218f128dc1ce4410563d503cecae" -addtask repos_checkout after do_fetch before do_patch +S = "${WORKDIR}/board-support" -- 1.7.0.4