From: Richard Purdie Date: Mon, 16 Oct 2006 23:37:03 +0000 (+0000) Subject: base.bbclass: Add fetchall task to fetch all sources for all the given task and all... X-Git-Tag: Release-2010-05/1~9453^2~567^2~142^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778f202e7d0113f2fb3f3ea029ce4ae902d938eb;p=openembedded.git base.bbclass: Add fetchall task to fetch all sources for all the given task and all its dependencies (requires bitbake trunk) --- diff --git a/classes/base.bbclass b/classes/base.bbclass index a9b61d26b1..4aaee3686c 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -382,6 +382,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: @@ -741,7 +747,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 () {