summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-10-16 23:37:03 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-10-16 23:37:03 +0000
commit778f202e7d0113f2fb3f3ea029ce4ae902d938eb (patch)
treee1e9f209d2ab6d343264c1735f9473405fae63e4 /classes
parent8f03501fe2192d42acd0b667792f849215d4ff92 (diff)
base.bbclass: Add fetchall task to fetch all sources for all the given task and all its dependencies (requires bitbake trunk)
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass8
1 files changed, 7 insertions, 1 deletions
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 () {