From 29d6993b143889517958eba9b97c0f4973a2c6ff Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 22 May 2024 16:14:11 +0100 Subject: 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 --- meta/classes-global/base.bbclass | 5 ----- 1 file changed, 5 deletions(-) (limited to 'meta/classes-global') 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 () { 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")): - d.appendVar("PSEUDO_IGNORE_PATHS", ",${B}") - # To add a recipe to the skip list , set: # SKIP_RECIPE[pn] = "message" pn = d.getVar('PN') -- cgit v1.2.3-54-g00ecf