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".

(From OE-Core rev: 122ef911aac96b311bbe19106fb9ecbe004fd51b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2015-03-18 22:33:00 -07:00 committed by Richard Purdie
parent b4578680f6
commit 7366894e41
1 changed files with 1 additions and 1 deletions

View 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)