Bug 6745 - Auto-prune dependencies on self when generating native recipe
Summary: Auto-prune dependencies on self when generating native recipe
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.7
Hardware: All Multiple
: Low enhancement
Target Milestone: Future
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-19 23:35 UTC by Ross Burton
Modified: 2015-02-12 11:31 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.