Bug 4288 - Add warning if ${PN} is in OVERRIDES
Summary: Add warning if ${PN} is in OVERRIDES
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: 1.5 M1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 4644
  Show dependency tree
 
Reported: 2013-04-14 15:15 UTC by Paul Eggleton
Modified: 2013-07-22 10:28 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

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