|
@@ -388,6 +388,11 @@ python () {
|
|
|
oe.utils.features_backfill("DISTRO_FEATURES", d)
|
|
|
oe.utils.features_backfill("MACHINE_FEATURES", d)
|
|
|
|
|
|
+ if d.getVar("S")[-1] == '/':
|
|
|
+ bb.warn("Recipe %s sets S variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("S")))
|
|
|
+ if d.getVar("B")[-1] == '/':
|
|
|
+ bb.warn("Recipe %s sets B variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("B")))
|
|
|
+
|
|
|
if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("S")):
|
|
|
d.appendVar("PSEUDO_IGNORE_PATHS", ",${S}")
|
|
|
if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("B")):
|