summaryrefslogtreecommitdiffstats
path: root/meta
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
parentb4578680f69b8f4727f379274b3e0aecc86bc927 (diff)
downloadast2050-yocto-poky-7366894e41139ed9e5d6c70c5f0ba4c52a2dc239.zip
ast2050-yocto-poky-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')
-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 d00f468..1cee4b0 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)
OpenPOWER on IntegriCloud