Bug 6745

Summary: Auto-prune dependencies on self when generating native recipe
Product: [Build System, Metadata & Runtime] BitBake Reporter: Ross Burton <ross.burton>
Component: bitbakeAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: poky.bs.watcher, poky.watcher
Version: 1.7   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2014-09-19 23:35:36 UTC
Say a recipe foo.bb has this:

DEPENDS=foo-native
BBCLASSEXTEND=native

This causes a circular dependency as the native DEPENDS for foo-native is foo-native.  BBCLASSEXTEND should recognise this situation and remove PN-native from the build depends.
Comment 1 Ross Burton 2015-02-12 11:31:02 UTC
Fixed in oe-core 3e9392c0965166462e0993d46f4cc2fb1832f1e5.