diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 0580cd5508..267d19e3e2 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1268,6 +1268,11 @@ class BBCooker: | |||
1268 | if len(pkgs_to_build) == 0: | 1268 | if len(pkgs_to_build) == 0: |
1269 | raise NothingToBuild | 1269 | raise NothingToBuild |
1270 | 1270 | ||
1271 | ignore = (self.data.getVar("ASSUME_PROVIDED", True) or "").split() | ||
1272 | for pkg in pkgs_to_build: | ||
1273 | if pkg in ignore: | ||
1274 | parselog.warn("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg) | ||
1275 | |||
1271 | if 'world' in pkgs_to_build: | 1276 | if 'world' in pkgs_to_build: |
1272 | self.buildWorldTargetList() | 1277 | self.buildWorldTargetList() |
1273 | pkgs_to_build.remove('world') | 1278 | pkgs_to_build.remove('world') |