[oe-commits] Richard Purdie : bitbake.conf: Add git-native to ASSUME_PROVIDED

git at git.openembedded.org git at git.openembedded.org
Wed Jul 18 13:34:04 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 79e24186481770181565a18d177584d0d72399fe
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=79e24186481770181565a18d177584d0d72399fe

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Jul 10 13:26:18 2012 +0000

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/sanity.bbclass |    2 +-
 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 765958e..a3fe075 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -2,7 +2,7 @@
 # Sanity check the users setup for common misconfigurations
 #
 
-SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo svn bzip2 tar gzip gawk chrpath wget cpio"
+SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo git bzip2 tar gzip gawk chrpath wget cpio"
 
 def raise_sanity_error(msg, d):
     if d.getVar("SANITY_USE_EVENTS", True) == "1":
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 76ee65f..c94012e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -152,6 +152,7 @@ DATETIME = "${DATE}${TIME}"
 # its own in staging
 ASSUME_PROVIDED = "\
     bzip2-native \
+    git-native \
     grep-native \
     diffstat-native \
     patch-native \





More information about the Openembedded-commits mailing list