[OE-core] [PATCH 1/5] oelint.bbclass: adjust task order

Robert Yang liezhi.yang at windriver.com
Thu Mar 19 05:33:00 UTC 2015


Addtask lint before do_build rather than do_fetch, otherwise it would
cause all the tasks after do_fetch run again every time since
do_lint[nostamp] = "1".

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/classes/oelint.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/oelint.bbclass b/meta/classes/oelint.bbclass
index d00f468..1cee4b0 100644
--- a/meta/classes/oelint.bbclass
+++ b/meta/classes/oelint.bbclass
@@ -1,4 +1,4 @@
-addtask lint before do_fetch
+addtask lint before do_build
 do_lint[nostamp] = "1"
 python do_lint() {
     pkgname = d.getVar("PN", True)
-- 
1.7.9.5




More information about the Openembedded-core mailing list