summaryrefslogtreecommitdiffstats
path: root/meta/classes-global
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-22 16:14:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-23 11:26:39 +0100
commit29d6993b143889517958eba9b97c0f4973a2c6ff (patch)
tree36b5a77924906fe719caa8279a5f5c1c0db80876 /meta/classes-global
parent5ef61d10d30deca3e0774554212c2d274306763e (diff)
downloadpoky-29d6993b143889517958eba9b97c0f4973a2c6ff.tar.gz
base/bitbake.conf: Move S/B to PSEUDO_IGNORE_PATHS unconditionally
Now S and B can't be set to WORKDIR, add to PSEUDO_IGNORE_PATHS unconditionally and simplify the code. (From OE-Core rev: 26cd2d56261827ad8d07e2145e95f82422accac2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global')
-rw-r--r--meta/classes-global/base.bbclass5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index 13e91b24a3..4ac7bafefa 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -433,11 +433,6 @@ python () {
433 if d.getVar("B")[-1] == '/': 433 if d.getVar("B")[-1] == '/':
434 bb.warn("Recipe %s sets B variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("B"))) 434 bb.warn("Recipe %s sets B variable with trailing slash '%s', remove it" % (d.getVar("PN"), d.getVar("B")))
435 435
436 if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("S")):
437 d.appendVar("PSEUDO_IGNORE_PATHS", ",${S}")
438 if os.path.normpath(d.getVar("WORKDIR")) != os.path.normpath(d.getVar("B")):
439 d.appendVar("PSEUDO_IGNORE_PATHS", ",${B}")
440
441 # To add a recipe to the skip list , set: 436 # To add a recipe to the skip list , set:
442 # SKIP_RECIPE[pn] = "message" 437 # SKIP_RECIPE[pn] = "message"
443 pn = d.getVar('PN') 438 pn = d.getVar('PN')