summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-global/insane.bbclass')
-rw-r--r--meta/classes-global/insane.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 42ed1a24a7..99736830b9 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1609,6 +1609,10 @@ python () {
1609 bb.fatal("Using S = ${WORKDIR} is no longer supported") 1609 bb.fatal("Using S = ${WORKDIR} is no longer supported")
1610 if builddir == workdir: 1610 if builddir == workdir:
1611 bb.fatal("Using B = ${WORKDIR} is no longer supported") 1611 bb.fatal("Using B = ${WORKDIR} is no longer supported")
1612 if sourcedir[-1] == '/':
1613 bb.warn("Recipe %s sets S variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("S")))
1614 if builddir[-1] == '/':
1615 bb.warn("Recipe %s sets B variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("B")))
1612 1616
1613 # Some people mistakenly use DEPENDS:${PN} instead of DEPENDS and wonder 1617 # Some people mistakenly use DEPENDS:${PN} instead of DEPENDS and wonder
1614 # why it doesn't work. 1618 # why it doesn't work.