]> code.ossystems Code Review - openembedded-core.git/commitdiff
oelint.bbclass: adjust task order
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 19 Mar 2015 05:33:00 +0000 (22:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Mar 2015 09:19:31 +0000 (09:19 +0000)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/oelint.bbclass

index d00f468d9ab084cac3d2f659418723599fb7f795..1cee4b0f25ca46315febccd54c199d3c613066e8 100644 (file)
@@ -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)