From: Robert Yang Date: Thu, 19 Mar 2015 05:33:00 +0000 (-0700) Subject: oelint.bbclass: adjust task order X-Git-Tag: yocto-4.0~26451 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=122ef911aac96b311bbe19106fb9ecbe004fd51b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oelint.bbclass: adjust task order 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/oelint.bbclass b/meta/classes/oelint.bbclass index d00f468d9ab..1cee4b0f25c 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)