summaryrefslogtreecommitdiffstats
path: root/meta/classes/oelint.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-03-18 22:33:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-22 14:42:15 +0000
commit7366894e41139ed9e5d6c70c5f0ba4c52a2dc239 (patch)
treec507cbe840f159e242ce42248863888efc9e6cc0 /meta/classes/oelint.bbclass
parentb4578680f69b8f4727f379274b3e0aecc86bc927 (diff)
downloadpoky-7366894e41139ed9e5d6c70c5f0ba4c52a2dc239.tar.gz
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>
Diffstat (limited to 'meta/classes/oelint.bbclass')
-rw-r--r--meta/classes/oelint.bbclass2
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 @@
1addtask lint before do_fetch 1addtask lint before do_build
2do_lint[nostamp] = "1" 2do_lint[nostamp] = "1"
3python do_lint() { 3python do_lint() {
4 pkgname = d.getVar("PN", True) 4 pkgname = d.getVar("PN", True)