[oe-commits] Chris Larson : srctree: prefix messages with ${PF} and kill do_package hacks.

git version control git at git.openembedded.org
Wed Aug 26 22:35:13 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 09b6a74a6f03bb114cbc3620b00ce60cbd17ab0b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=09b6a74a6f03bb114cbc3620b00ce60cbd17ab0b

Author: Chris Larson <clarson at mvista.com>
Date:   Wed Aug 26 15:32:30 2009 -0700

srctree: prefix messages with ${PF} and kill do_package hacks.

Signed-off-by: Chris Larson <clarson at mvista.com>

---

 classes/srctree.bbclass |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/classes/srctree.bbclass b/classes/srctree.bbclass
index ce9cb83..dbf8ad2 100644
--- a/classes/srctree.bbclass
+++ b/classes/srctree.bbclass
@@ -106,16 +106,10 @@ python do_populate_staging () {
 				rec_exec_task(dep, seen)
 		seen.add(task)
 		#if not exists("%s.%s" % (stamp, task)):
-		note("Executing task %s" % task)
+		note("%s: executing task %s" % (d.getVar("PF", True), task))
 		exec_task(task, d)
 
 	rec_exec_task("do_install", set())
 	exec_func("do_stage", d)
 }
 do_populate_staging[lockfiles] += "${S}/.lock"
-
-# Hack, so things don't explode in builds that don't inherit package
-do_package ?= "    pass"
-do_package[func] = "1"
-do_package[python] = "1"
-addtask package after do_populate_staging





More information about the Openembedded-commits mailing list