diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-03-18 22:33:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-22 09:19:31 +0000 |
commit | 122ef911aac96b311bbe19106fb9ecbe004fd51b (patch) | |
tree | 16b628216be41993a629b6f138355a53ec0f2d3c /meta/classes | |
parent | bd277f3a46e7fc764cc55c5354d2136fcfddc3c1 (diff) | |
download | openembedded-core-122ef911aac96b311bbe19106fb9ecbe004fd51b.tar.gz openembedded-core-122ef911aac96b311bbe19106fb9ecbe004fd51b.tar.bz2 openembedded-core-122ef911aac96b311bbe19106fb9ecbe004fd51b.zip |
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 <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/oelint.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/oelint.bbclass b/meta/classes/oelint.bbclass index d00f468d9a..1cee4b0f25 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) |