allarch: Remove MACHINEOVERRIDES
PATCH 1/1 allarch: Remove MACHINEOVERRIDES
Avoid machine-specific settings sneaking into allarch tasks.
--- meta/classes/allarch.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/allarch.bbclass +1 -0
@@ -42,6 +42,7 @@ python () { d.setVar("TARGET_CXXFLAGS", "none") d.setVar("TARGET_LDFLAGS", "none") d.setVar("POPULATESYSROOTDEPS", "") + d.setVar("MACHINEOVERRIDES", "allarch") # Avoid this being unnecessarily different due to nuances of # the target machine that aren't important for "all" arch
Signature · 1 line
2.17.1
Wait, I thought this specifically sets MACHINEOVERRIDES to a static value, replacing the target specific one.
Alex
Quoted 26 lines · Douglas via lists.openembedded.org
Avoid machine-specific settings sneaking into allarch tasks.
Signed-off-by Douglas Royds <[email protected]>--- meta/classes/allarch.bbclass | 1 + 1 file changed, 1 insertion(+)meta/classes/allarch.bbclass +1
-1@@ -42,6 +42,7 @@ python () { d.setVar("TARGET_CXXFLAGS", "none") d.setVar("TARGET_LDFLAGS", "none") d.setVar("POPULATESYSROOTDEPS", "") + d.setVar("MACHINEOVERRIDES", "allarch") # Avoid this being unnecessarily different due to nuances of # the target machine that aren't important for "all" arch --2.17.1
Quoted 13 lines · Douglas via lists.openembedded.org
Avoid machine-specific settings sneaking into allarch tasks.
Signed-off-by Douglas Royds <[email protected]>--- meta/classes/allarch.bbclass | 1 + 1 file changed, 1 insertion(+)meta/classes/allarch.bbclass +0
-0
meta/classes/allarch.bbclass python () { · line 45
Quoted 4 lines
meta/classes/allarch.bbclass +1
-0@@ -42,6 +42,7 @@ python () { d.setVar("TARGET_CXXFLAGS", "none") d.setVar("TARGET_LDFLAGS", "none") d.setVar("POPULATESYSROOTDEPS", "") + d.setVar("MACHINEOVERRIDES", "allarch")
Why would a recipe which is using allarch be using machine specific overrides?
Cheers,
Richard
Quoted 9 lines · Richard Purdie
Quoted 7 lines · Douglas via lists.openembedded.org
Avoid machine-specific settings sneaking into allarch tasks.
Signed-off-by Douglas Royds <[email protected]>--- meta/classes/allarch.bbclass | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
meta/classes/allarch.bbclass python () { · line 45
Quoted 10 lines
meta/classes/allarch.bbclass +1
-0@@ -42,6 +42,7 @@ python () { d.setVar("TARGET_CXXFLAGS", "none") d.setVar("TARGET_LDFLAGS", "none") d.setVar("POPULATESYSROOTDEPS", "") + d.setVar("MACHINEOVERRIDES", "allarch")Why would a recipe which is using allarch be using machine specific overrides?
Um, yes, I have to admit that we had an in-house defect over this one, now separately fixed.
It seems wrong to have machine-specific overrides in the list at all for allarch recipes, so this is just a suggested tidy-up.