diff options
| -rw-r--r-- | meta/classes-global/insane.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index eeef43d00e..42ed1a24a7 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass | |||
| @@ -1603,9 +1603,12 @@ python () { | |||
| 1603 | oe.qa.handle_error("uppercase-pn", 'PN: %s is upper case, this can result in unexpected behavior.' % pn, d) | 1603 | oe.qa.handle_error("uppercase-pn", 'PN: %s is upper case, this can result in unexpected behavior.' % pn, d) |
| 1604 | 1604 | ||
| 1605 | sourcedir = d.getVar("S") | 1605 | sourcedir = d.getVar("S") |
| 1606 | builddir = d.getVar("B") | ||
| 1606 | workdir = d.getVar("WORKDIR") | 1607 | workdir = d.getVar("WORKDIR") |
| 1607 | if sourcedir == workdir: | 1608 | if sourcedir == workdir: |
| 1608 | bb.fatal("Using S = ${WORKDIR} is no longer supported") | 1609 | bb.fatal("Using S = ${WORKDIR} is no longer supported") |
| 1610 | if builddir == workdir: | ||
| 1611 | bb.fatal("Using B = ${WORKDIR} is no longer supported") | ||
| 1609 | 1612 | ||
| 1610 | # Some people mistakenly use DEPENDS:${PN} instead of DEPENDS and wonder | 1613 | # Some people mistakenly use DEPENDS:${PN} instead of DEPENDS and wonder |
| 1611 | # why it doesn't work. | 1614 | # why it doesn't work. |
