]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Add fetchall task to fetch all sources for all the given task and all...
authorRichard Purdie <richard@openedhand.com>
Mon, 16 Oct 2006 23:19:19 +0000 (23:19 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 16 Oct 2006 23:19:19 +0000 (23:19 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@803 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/base.bbclass

index 0d5f5ea164c3d23dd899ed03f2d982d0bf68f3d5..e779cd5e6cad4c457f77a43f3b18a34dbd343661 100644 (file)
@@ -376,6 +376,12 @@ python base_do_fetch() {
                raise bb.build.FuncFailed("Fetch failed: %s" % value)
 }
 
+addtask fetchall
+do_fetchall[recrdeptask] = "do_fetch"
+python base_do_fetchall() {
+       bb.build.exec_task('do_fetch', d)
+}
+
 def oe_unpack_file(file, data, url = None):
        import bb, os
        if not url:
@@ -731,7 +737,7 @@ python () {
 # Patch handling
 inherit patch
 
-EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild
+EXPORT_FUNCTIONS do_clean do_mrproper do_fetch do_unpack do_configure do_compile do_install do_package do_populate_pkgs do_stage do_rebuild do_fetchall
 
 MIRRORS[func] = "0"
 MIRRORS () {