summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index a7560a17d0..f77c6c0532 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -564,7 +564,7 @@ class BBCooker:
564 fn = self.matchFile(fn) 564 fn = self.matchFile(fn)
565 fn = bb.cache.Cache.realfn2virtual(fn, cls) 565 fn = bb.cache.Cache.realfn2virtual(fn, cls)
566 elif len(pkgs_to_build) == 1: 566 elif len(pkgs_to_build) == 1:
567 ignore = self.data.getVar("ASSUME_PROVIDED", True) or "" 567 ignore = self.expanded_data.getVar("ASSUME_PROVIDED", True) or ""
568 if pkgs_to_build[0] in set(ignore.split()): 568 if pkgs_to_build[0] in set(ignore.split()):
569 bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0]) 569 bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
570 570
@@ -1484,7 +1484,7 @@ class BBCooker:
1484 if len(pkgs_to_build) == 0: 1484 if len(pkgs_to_build) == 0:
1485 raise NothingToBuild 1485 raise NothingToBuild
1486 1486
1487 ignore = (self.data.getVar("ASSUME_PROVIDED", True) or "").split() 1487 ignore = (self.expanded_data.getVar("ASSUME_PROVIDED", True) or "").split()
1488 for pkg in pkgs_to_build: 1488 for pkg in pkgs_to_build:
1489 if pkg in ignore: 1489 if pkg in ignore:
1490 parselog.warn("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg) 1490 parselog.warn("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)