[oe-commits] Richard Purdie : meta/classes: Update recrdeptask fields for recursive dependency handling changes in bitbake

git at git.openembedded.org git at git.openembedded.org
Wed Jul 4 13:49:32 UTC 2012


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

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Jul  2 12:27:46 2012 +0000

meta/classes: Update recrdeptask fields for recursive dependency handling changes in bitbake

This also deletes the buildall task since I seen usecases for it.

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

---

 meta/classes/distrodata.bbclass    |    8 ++++----
 meta/classes/recipe_sanity.bbclass |    3 +--
 meta/classes/utility-tasks.bbclass |   10 ++--------
 3 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 5b10eac..7b212c9 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -177,7 +177,7 @@ python do_distrodata() {
 }
 
 addtask distrodataall after do_distrodata
-do_distrodataall[recrdeptask] = "do_distrodata"
+do_distrodataall[recrdeptask] = "do_distrodataall do_distrodata"
 do_distrodataall[nostamp] = "1"
 do_distrodataall() {
 	:
@@ -634,7 +634,7 @@ python do_checkpkg() {
 }
 
 addtask checkpkgall after do_checkpkg
-do_checkpkgall[recrdeptask] = "do_checkpkg"
+do_checkpkgall[recrdeptask] = "do_checkpkgall do_checkpkg"
 do_checkpkgall[nostamp] = "1"
 do_checkpkgall() {
 	:
@@ -677,7 +677,7 @@ python do_distro_check() {
 }
 
 addtask distro_checkall after do_distro_check
-do_distro_checkall[recrdeptask] = "do_distro_check"
+do_distro_checkall[recrdeptask] = "do_distro_checkall do_distro_check"
 do_distro_checkall[nostamp] = "1"
 do_distro_checkall() {
 	:
@@ -727,7 +727,7 @@ python do_checklicense() {
 }
 
 addtask checklicenseall after do_checklicense
-do_checklicenseall[recrdeptask] = "do_checklicense"
+do_checklicenseall[recrdeptask] = "do_checklicenseall do_checklicense"
 do_checklicenseall[nostamp] = "1"
 do_checklicenseall() {
 	:
diff --git a/meta/classes/recipe_sanity.bbclass b/meta/classes/recipe_sanity.bbclass
index da8ad76..61e07bf 100644
--- a/meta/classes/recipe_sanity.bbclass
+++ b/meta/classes/recipe_sanity.bbclass
@@ -136,11 +136,10 @@ python do_recipe_sanity () {
     bad_runtime_vars(cfgdata, d)
 }
 do_recipe_sanity[nostamp] = "1"
-#do_recipe_sanity[recrdeptask] = "do_recipe_sanity"
 addtask recipe_sanity
 
 do_recipe_sanity_all[nostamp] = "1"
-do_recipe_sanity_all[recrdeptask] = "do_recipe_sanity"
+do_recipe_sanity_all[recrdeptask] = "do_recipe_sanity_all do_recipe_sanity"
 do_recipe_sanity_all () {
     :
 }
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass
index cbb000a..6c2232e 100644
--- a/meta/classes/utility-tasks.bbclass
+++ b/meta/classes/utility-tasks.bbclass
@@ -46,20 +46,14 @@ python do_checkuri() {
 }
 
 addtask checkuriall after do_checkuri
-do_checkuriall[recrdeptask] = "do_checkuri"
+do_checkuriall[recrdeptask] = "do_checkuriall do_checkuri"
 do_checkuriall[nostamp] = "1"
 do_checkuriall() {
 	:
 }
 
 addtask fetchall after do_fetch
-do_fetchall[recrdeptask] = "do_fetch"
+do_fetchall[recrdeptask] = "do_fetchall do_fetch"
 do_fetchall() {
 	:
 }
-
-addtask buildall after do_build
-do_buildall[recrdeptask] = "do_build"
-do_buildall() {
-	:
-}





More information about the Openembedded-commits mailing list