mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
native.bbclass: drop _virtclass-native and _virtclass-nativesdk overrides
The _virtclass-XXX over-rides are problematic in that they are higher priority than _forcevariable, which is documented as being the highest priority over-ride. Since they are now obsolete (replaced by _class-native and _class-nativesdk) drop them entirely rather than try to fix their priority. (From OE-Core rev: c5aa33ac483618bc23fbaccb0a18853186f9155d) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a087862d02
commit
a1dda84fe8
@@ -154,8 +154,6 @@ python native_virtclass_handler () {
|
|||||||
newdeps.append(dep)
|
newdeps.append(dep)
|
||||||
d.setVar(varname, " ".join(newdeps))
|
d.setVar(varname, " ".join(newdeps))
|
||||||
|
|
||||||
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-native")
|
|
||||||
|
|
||||||
map_dependencies("DEPENDS", e.data)
|
map_dependencies("DEPENDS", e.data)
|
||||||
for pkg in [e.data.getVar("PN"), "", "${PN}"]:
|
for pkg in [e.data.getVar("PN"), "", "${PN}"]:
|
||||||
map_dependencies("RDEPENDS", e.data, pkg)
|
map_dependencies("RDEPENDS", e.data, pkg)
|
||||||
|
|||||||
@@ -78,7 +78,6 @@ python nativesdk_virtclass_handler () {
|
|||||||
|
|
||||||
e.data.setVar("MLPREFIX", "nativesdk-")
|
e.data.setVar("MLPREFIX", "nativesdk-")
|
||||||
e.data.setVar("PN", "nativesdk-" + e.data.getVar("PN").replace("-nativesdk", "").replace("nativesdk-", ""))
|
e.data.setVar("PN", "nativesdk-" + e.data.getVar("PN").replace("-nativesdk", "").replace("nativesdk-", ""))
|
||||||
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-nativesdk")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
python () {
|
python () {
|
||||||
|
|||||||
Reference in New Issue
Block a user