summaryrefslogtreecommitdiffstats
path: root/meta/classes/oelint.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* oelint.bbclass: remove duplicated codeRobert Yang2015-03-221-9/+8
| | | | | | | | | | The old code 'if not srcpath.find("{PN}") == -1:' looks strange, use 'if srcpath.find("{PN}") != -1:' and remove duplicated code. (From OE-Core rev: bb3b8e4e7580c1dfdfe584d3b5f0fe6803826a43) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oelint.bbclass: adjust task orderRobert Yang2015-03-221-1/+1
| | | | | | | | | | | 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>
* oelint.bbclass: Check for ${PN} or ${P} usageChong Lu2014-08-061-0/+18
| | | | | | | | | | | | | Check for ${PN} or ${P} usage in SRC_URI or S. We should use ${BPN} or ${BP} instead to avoid breaking multilib. [YOCTO #5427] (From OE-Core rev: d5a1999a7dc216b8182440cf9e8489ec79a6606e) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oelint.bbclass: add patch checkingChong Lu2014-08-061-0/+35
| | | | | | | | | | | | Check that all patches have Signed-off-by and Upstream-Status. [YOCTO #5427] (From OE-Core rev: a2b6be10daca733ba4e557bd2d831c60589e9ffd) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oelint.bbclass: make oelint bbclass workChong Lu2014-08-061-170/+28
| | | | | | | | | | | | | Remove LICENSE, MAINTAINER, PRIORITY and valid SECTION checking. Convert tab indentation into four-space. [YOCTO #5427] (From OE-Core rev: 184baa681b3381b7f1f289c3e0c3a0f1096368f6) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Sync with OE - mainly quoting fixes or other minor updatesRichard Purdie2006-11-201-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+174
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966