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 = "30df33e7134ab507a339b89a864256cabfbddea1"

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() {
    :
}


Create new recipe using new sourceipk.bbclass feature
board-port-labs-linux: Create new recipe using new sourceipk.bbclass feature

* 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 <b8c01a1703dc362919183054a071c1f348818c23@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
