From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by arago-project.org (Postfix) with ESMTPS id 04F2A52090 for ; Tue, 27 Aug 2013 19:18:07 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r7RJI7dU007923 for ; Tue, 27 Aug 2013 14:18:07 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r7RJI7AK022993 for ; Tue, 27 Aug 2013 14:18:07 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Tue, 27 Aug 2013 14:18:06 -0500 Received: from localhost.localdomain (dbdp20.itg.ti.com [172.24.170.38]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id r7RJHxor028646; Tue, 27 Aug 2013 14:18:05 -0500 From: "Franklin S. Cooper Jr" To: Date: Tue, 27 Aug 2013 14:51:29 -0500 Message-ID: <1377633092-29917-3-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1377633092-29917-1-git-send-email-fcooper@ti.com> References: <1377633092-29917-1-git-send-email-fcooper@ti.com> MIME-Version: 1.0 Cc: "Franklin S. Cooper Jr" Subject: [PATCH 3/6 v2] board-port-labs-linux: Create new recipe using new sourceipk.bbclass feature 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: Tue, 27 Aug 2013 19:18:08 -0000 Content-Type: text/plain * Do to the inability to keep the git repository intact the board port labs recipe manually ran git clone which took a long time every time the recipe was built. * Using the new SRCIPK_PRESERVED_GIT feature in sourceipk.bbclass the recipes can now be treated like any other recipe and allow OE to handle the cloning and unpacking. * This will significantly shorten the amount of time required to rebuild this recipe. Signed-off-by: Franklin S. Cooper Jr --- Changes Version 2: Split recipe into its own patch. Also use the kernel's license. .../board-port-labs/board-port-labs-linux_git.bb | 35 ++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb diff --git a/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb b/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb new file mode 100644 index 0000000..711e3a8 --- /dev/null +++ b/meta-arago-distro/recipes-tisdk/board-port-labs/board-port-labs-linux_git.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Git repositories containing sample board port code" +HOMEPAGE = "https://gitorious.org/sitara-board-port" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +inherit allarch + +CREATE_SRCIPK = "1" +SRCIPK_INSTALL_DIR = "board-support/board-port-labs/sitara-board-port-linux" +SRCIPK_PRESERVE_GIT = "true" + +PR = "r0" + +BRANCH = "master" +SRC_URI = "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git;protocol=git;branch=${BRANCH}" + +SRCREV = "${AUTOREV}" + +S = "${WORKDIR}/git" + +adjust_git_prepend() { + + # Checkout a specific branch instead of a commit that is used by default + git checkout ${BRANCH} +} + +do_configure() { + : +} + +do_compile() { + : +} + -- 1.7.0.4