diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-10 13:26:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-18 14:33:01 +0100 |
commit | 617835990edf1d7ca4fc8c08993b1b6725f12290 (patch) | |
tree | 5ad497e9615a24853e1b60029ab2eccf2a5f455b | |
parent | 4f20d6e9ccef33bcf2a7f01da5f465620f23a1e4 (diff) | |
download | poky-617835990edf1d7ca4fc8c08993b1b6725f12290.tar.gz |
bitbake.conf: Add git-native to ASSUME_PROVIDED
Originally, git was something new, not installed everywhere and had commandline
stability problems. This has changed and git it no longer makes sense to
continually build this when the system installed version is likely sufficient.
This speeds up build since recipes no longer have to wait for git-native to build
if they're fetched from a git:// SRC_URI.
Also add git to the sanity checks and drop the no unneeded svn reference.
(From OE-Core rev: 79e24186481770181565a18d177584d0d72399fe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sanity.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 765958e2e0..a3fe075dee 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -2,7 +2,7 @@ | |||
2 | # Sanity check the users setup for common misconfigurations | 2 | # Sanity check the users setup for common misconfigurations |
3 | # | 3 | # |
4 | 4 | ||
5 | SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo svn bzip2 tar gzip gawk chrpath wget cpio" | 5 | SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo git bzip2 tar gzip gawk chrpath wget cpio" |
6 | 6 | ||
7 | def raise_sanity_error(msg, d): | 7 | def raise_sanity_error(msg, d): |
8 | if d.getVar("SANITY_USE_EVENTS", True) == "1": | 8 | if d.getVar("SANITY_USE_EVENTS", True) == "1": |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 76ee65f80f..c94012e665 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -152,6 +152,7 @@ DATETIME = "${DATE}${TIME}" | |||
152 | # its own in staging | 152 | # its own in staging |
153 | ASSUME_PROVIDED = "\ | 153 | ASSUME_PROVIDED = "\ |
154 | bzip2-native \ | 154 | bzip2-native \ |
155 | git-native \ | ||
155 | grep-native \ | 156 | grep-native \ |
156 | diffstat-native \ | 157 | diffstat-native \ |
157 | patch-native \ | 158 | patch-native \ |