summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index e299059401..5f88f1ff59 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -313,6 +313,10 @@ class BBCooker:
313 elif len(pkgs_to_build) == 1: 313 elif len(pkgs_to_build) == 1:
314 self.updateCache() 314 self.updateCache()
315 315
316 ignore = self.configuration.data.getVar("ASSUME_PROVIDED", True) or ""
317 if pkgs_to_build[0] in set(ignore.split()):
318 bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
319
316 localdata = data.createCopy(self.configuration.data) 320 localdata = data.createCopy(self.configuration.data)
317 bb.data.update_data(localdata) 321 bb.data.update_data(localdata)
318 bb.data.expandKeys(localdata) 322 bb.data.expandKeys(localdata)