[oe-commits] org.oe.dev base.bbclass: Add fetchall task to fetch all sources for all the given task and all its dependencies (requires bitbake trunk)

rpurdie commit openembedded-commits at lists.openembedded.org
Mon Oct 16 23:44:33 UTC 2006


base.bbclass: Add fetchall task to fetch all sources for all the given task and all its dependencies (requires bitbake trunk)

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: 5f2ff6707023fa3275bf9306d879c8967637afc2
ViewMTN: http://monotone.openembedded.org/revision.psp?id=5f2ff6707023fa3275bf9306d879c8967637afc2
Files:
1
classes/base.bbclass
Diffs:

#
# mt diff -r9f8d2368681f0fba983832291680d1eb7c8aa21c -r5f2ff6707023fa3275bf9306d879c8967637afc2
#
# 
# 
# patch "classes/base.bbclass"
#  from [99ff9a18bef28d5090f3a45bc2b77eff87118b52]
#    to [b8ba8b0ff3ab5b89aad1b4ae8f831cadc64625b2]
# 
============================================================
--- classes/base.bbclass	99ff9a18bef28d5090f3a45bc2b77eff87118b52
+++ classes/base.bbclass	b8ba8b0ff3ab5b89aad1b4ae8f831cadc64625b2
@@ -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 @@ inherit patch
 # 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 () {






More information about the Openembedded-commits mailing list