diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 12:59:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-18 14:29:30 +0100 |
commit | 707cd32457edf014a2e8bd88edd0c453838b18e1 (patch) | |
tree | 6039e32fd11f24d679283084a165e3efc39d4ab0 /meta/recipes-devtools | |
parent | 63bfda766f678c9701d3dce2955df60c93070ef6 (diff) | |
download | poky-707cd32457edf014a2e8bd88edd0c453838b18e1.tar.gz |
scripts/bitbake: Check the git-native version and build it if necessary
We require git version 1.7.5 or later for the git remote --mirror=xxx syntax.
If we have an older version of git, this patch ensure we build git-replacement-native.
We add an alternative PROVIDES in the same way as tar-native to allow this script
to trigger the build whilst still allowing git-native in ASSUME_PROVIDED.
(From OE-Core rev: 269f3b3cfacaf229d5e45177ee01b16561370ee3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/git/git.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index ce2f5742f1..6748b70d24 100644 --- a/meta/recipes-devtools/git/git.inc +++ b/meta/recipes-devtools/git/git.inc | |||
@@ -3,6 +3,8 @@ SECTION = "console/utils" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | DEPENDS = "openssl curl zlib expat" | 4 | DEPENDS = "openssl curl zlib expat" |
5 | 5 | ||
6 | PROVIDES_append_virtclass-native = " git-replacement-native" | ||
7 | |||
6 | SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.bz2 " | 8 | SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.bz2 " |
7 | S = "${WORKDIR}/git-${PV}" | 9 | S = "${WORKDIR}/git-${PV}" |
8 | 10 | ||