Bug 4288

Summary: Add warning if ${PN} is in OVERRIDES
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: jessica.zhang, meta.mr.watcher, meta.watcher, mihai.lindner
Version: 1.5   
Target Milestone: 1.5 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 4644    

Description Paul Eggleton 2013-04-14 15:15:00 UTC
If a recipe is named such that it matches something already in OVERRIDES (such as when PN happens to be the same as MACHINE or DISTRO), it can have unexpected consequences. Assignments such as FILES_${PN} = "xyz" effectively turn into FILES = "xyz". We should therefore show a warning if ${PN} is in OVERRIDES.
Comment 2 Mihai Lindner 2013-07-22 10:28:37 UTC
Verified.
Warning is shown when PN matches something in OVERRIDES.